How to assign foo.example.com to one IP address and example.com to a different one?
Posted
by
Guillaume Pierre
on Pro Webmasters
See other posts from Pro Webmasters
or by Guillaume Pierre
Published on 2013-11-04T07:44:26Z
Indexed on
2013/11/04
22:15 UTC
Read the original article
Hit count: 459
Say that I have a domain name called example.com
and two server located at 2 different IP addresses: 1.2.3.4
and 6.7.8.9
.
How could I assign example.com
to 1.2.3.4
and the subdomain foo.example.com
to 6.7.8.9
?
[EDIT] I did try to put a A record linking from @
to the first IP address and from foo.example.com
to the second IP address, as illustrated below:
And I did configure a vhosts called foo.example.com
on my server at IP address 2.
The @
record works. But after 3 hours waiting for the result (DNS delay), nothing happened with foo.example.com
, which link to nothing. Why?
© Pro Webmasters or respective owner