Setting up CNAME for temp address

Gadensgaard

New member
Joined
Jul 6, 2008
Messages
3
Is it possible to create a different temp adress for the users?

Now the temp adress is A.B.C.D/~username, however from my DNS admin i cannot create a CNAME for that address (i guess because of the ~).

Is it possible to change the temp address for the users somehow? For example username.(IP), so that i can create a CNAME for the IP making the temp adress username.mydomain.com.

Hope this makes sense :).

Thanks in advance.
 
Thats how userdir works. Im sure you can figure out how to make it work however you want.
 
Thanks for the useless unhelpful post, scsi. Keep it up :(.

Gadensgaard,

CNAMEs are limited to point to other domain names; they cannot be pointed to IP#s or URLs.

Off the top of my head (untested) you can set up a domain for this purpose, or use the main server name, and a separate subdomain name.

For example, if your servername is server.example.com, you can set up an alias for your site as username.server.example.com. If DNS for example.com isn't set on the same server then you'll have to set up DNS for the alias name yourself, but if it's on the same server it should just work.

Then you can either just use the alias, or set a CNAME for the alias.

Jeff
 
Thanks for your reply, that makes sense some of the way :).

My DNS is set like this:

The server is at IP A.B.C.D, and the domain serverdomain.com is pointed to that IP.

I have created a CNAME for the server domain, that is web.mydomain.com, so now i can access the temp adress at web.mydomain.com/~username (or serverdomain.com/~username), but how can i make it username.web.mydomain.com?

Thanks in advance.
 
Okay, i have no idea how to do that. Thanks for your help so far, i guess i will contact the support for further help.
 
If your hosting company has allowed you to set up Aliases you'd find a link on your main account page (after login), called Domain Pointers.

Jeff
 
Back
Top