Subdomains IP

disc_man

New member
Joined
Mar 4, 2005
Messages
2
Hey all!
i whould like to know how i'm changing subdomains ip?
*i know that it's should be done from DNS Management ....
Thanks.
 
DA allows IP# assignment only to the user level, not to the domain or subdomain level.

And creating an A record at a different IP# will not change that.

So if you follow raidbaron's advice, you'll end up with a non-resolvable subdomain.

Jeff
 
Will DirectAdmin eventually support modifying ip's at the domain and subdomain level?
 
If you want your subdomain to point to a different server, then an A record will work.

For example:

www.domain.com ---> 10.10.10.10


subdomain.domain.com ---> 10.10.10.11

As long as the device at 10.10.10.11 is running a service that can accept the request correctly, it will work. I have done it to login into different SSH servers. (for example, type in "ssh server2.domain.com" will let me log into one server and "ssh server3.domain.com" will let me log in to a different server. You could do this with just about any service that you want. HTTP, FTP, MAIL, etc....

Louie
 
I want to be able to assign domains different ip's with having to create a different user for each one. Currently the only way I know of to assign domains different ip's is to first create the user which can be assigned an ip and then login as that user and create the domain which gets the ip of the user. It would be nice to allow users to assign which domains get which ip.

All of this would be on the same server. I don't want to only change the DNS which I know can already be done. But that will not change the ip in apache.

Thanks.
 
louie55 said:
If you want your subdomain to point to a different server, then an A record will work.

For example:

www.domain.com ---> 10.10.10.10
subdomain.domain.com ---> 10.10.10.11
It won't work, Louie.

Unlike sshd, apache listens for domains and subdomains on specific IP#s; if you attempt to get .11 to respond but the subdomain has been set up with the httpd daemon to listen on 10, it'll resolve to the server but the website is not going to resolve.

Jeff
 
Back
Top