• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 454
  • Last Modified:

Subdomain hosted on a different provider

We are hosting a beta website on a Linode VPS, and we are having difficulties with DNS resolution.  
Our main site uses GoDaddy for DNS, with A records for the main site, and the "beta" (linode) site.  When the beta site is loaded, it reverts to IP address in the address bar instead of the hostname.

/etc/resolv.conf is pointing to the Godaddy DNS: (ns49.domaincontrol.com) (ns50.domaincontrol.com)

Apache is configured with the proper hostname, as is the Linode in question.
Is this a DNS issue or a problem with the Linode VPS?

Thank you for any assistance on this issue!

Jared
0
StaffordGroup
Asked:
StaffordGroup
  • 2
1 Solution
 
edchipmanCommented:
Your best bet is to set a A name for the subdomain in your domain's DNS records. This removes Apache from the equation and should prevent the issue you're having. Likely what is happening is Apache is seeing beta.example.com and redirecting the user to the ip of the VPS. If you set the subdomain as an A name at the domain level Apache on dreamhost never knows the request happened but the VPS will receive the request directly.
0
 
StaffordGroupAuthor Commented:
We solved this on our own. Ended up purchasing a domain.
0
 
StaffordGroupAuthor Commented:
Solved ourselves. Thank you
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now