Subdomain on server points to another server

WK-Anthony

Member
Dec 10, 2005
15
0
151
Hey guys,

I've come across a funny problem.

How do I go about getting a subdomain to point to a different IP in WHM?

Adding an A entry to the different IP? "Edit DNS zones?"

Thanks,
Anthony
 

WebScHoLaR

Well-Known Member
Dec 14, 2005
510
3
168
Planet Earth
WK-Anthony said:
Hey guys,

I've come across a funny problem.

How do I go about getting a subdomain to point to a different IP in WHM?

Adding an A entry to the different IP? "Edit DNS zones?"

Thanks,
Anthony
If you want your subdomain to point to a different IP other than the main domain then you have to Edit the DNS zone file of the main domain and change the A record of the subdomain and also you have to edit httpd.conf and specify the new IP in the <VirtualHost newiphere> section of the subdomain.
 

elleryjh

Well-Known Member
Apr 12, 2003
479
0
166
You don't need to edit httpd.conf if the subdomain is pointing to an IP on a different server
 

WebScHoLaR

Well-Known Member
Dec 14, 2005
510
3
168
Planet Earth
elleryjh said:
You don't need to edit httpd.conf if the subdomain is pointing to an IP on a different server
Yes, you don't need to edit httpd.conf if the subdomain is pointing to an IP on a different server but you need to edit the httpd.conf if you are assigning a unique IP to a subdomain pointing to the same server.
 

e1173

Member
Apr 25, 2005
5
0
151
Please help me..

Always create subdomain to point to a different IP.

edit my DNS ZONE a add A Record.

Now something is wrong beacuse when i try create subdomain


software.mydomain.com not work!

but diferente subdomains work perfect.

for example:

hardware.mydomain.com

I think my server have a issue with software.mydomain.com.