[Linux-disciples] dns questions

Adam Rosi-Kessel adam at rosi-kessel.org
Tue Jun 16 10:05:47 EDT 2009


Jamie Forrest wrote, on 6/12/2009 10:52 AM:
> I want to move a web app I'm running from one domain to another. The
> current setup is as follows: the web app is available at
> listings.forrestnewmedia.com. I own that domain and the DNS settings on
> that domain point to the name servers of the hosting company where the
> app is running. Within my account at that hosting company, I have set up
> a subdomain that points to the directory where the app lives
> (public_html/listings).
>
> What I want to do now is move the application to a new domain:
> listings./forrestpartners/.com. I do NOT own this domain name (but I do
> have access to the GoDaddy control panel to make any necessary changes).
> There is already a PHP app running at www.forrestpartners.com
> <http://www.forrestpartners.com> so I don't want to simply point the DNS
> settings of forrestpartners.com to my hosting company. So what do I need
> to do w/i the DNS of this domain to make the listings app available at
> the listings subdomain? If I create a CNAME, do the URLs get rewritten
> at that domain or does that simply redirect it to
> listings.forrestnewmedia.com. Or do I need to do something else?

I'm not sure I totally understand the question. Subdomains can be 
handled as entirely separate DNS records. You could have a new A record 
for each subdomain pointing to whatever IP address you want, or have the 
subdomains be CNAME records that point to another domain name that has 
an A record for the IP address you want. Does that answer the question?


More information about the Linux-disciples mailing list