I do not know anything about this DNS stuff. I don't even know if this should be on stackoverflow or serverfault but anyways...
I have a site at example.com
whose IP is 1.2.3.4
, I have subdomain at sub.example.com
whose IP address is also 1.2.3.4
. This site is registered at GoDaddy.
I am assuming that my site is on a virtual host since http://1.2.3.4
shows me a different page than my homepage at http://example.com
, and I am on shared hosting
The server is running Apache 2.2
Now I have another domain (my-other-domain.com
) which is not registered with GoDaddy and somebody else is managing it. All he asked is for the IP address of the server (which is 1.2.3.4
). I want my-other-domain.com
to point to sub.example.com
. If he makes an A-Record
to make my-other-domain.com
point to my server's IP which is 1.2.3.4
, where will it go? And do I need to edit my A-Records
too? Because I am assuming that my site is on virtual host, I do not have the assurance that my nameservers already know for whom my-other-domain.com
is!
I do not have access to Apache conf files. Anybody familiar with the GoDaddy control panel?