Solved

Subdomain hosted on a different provider

Posted on 2011-09-13
3
441 Views
Last Modified: 2013-11-14
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
Comment
Question by:StaffordGroup
  • 2
3 Comments
 
LVL 5

Expert Comment

by:edchipman
ID: 36536073
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
 

Accepted Solution

by:
StaffordGroup earned 0 total points
ID: 36987868
We solved this on our own. Ended up purchasing a domain.
0
 

Author Closing Comment

by:StaffordGroup
ID: 37013571
Solved ourselves. Thank you
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question