Linode Forum
https://forum.linode.com/

Multiple Domains - How to set up the DNS?
https://forum.linode.com/viewtopic.php?f=19&t=6903
Page 1 of 1

Author:  Ashpool [ Fri Apr 01, 2011 6:47 pm ]
Post subject:  Multiple Domains - How to set up the DNS?

So I have my host up and running.
billybob.com

I have multiple subdomains up and running
dev.billybob.com

Apache is happy serving different sites to these domains.

I have created and setup another site for a different project and registered a new domain
joeblogs.com
and I have pointed that site to the linode name servers.

I want to host on the same server.
In the linode dns manager do I need to create a new zone file for joeblogs.com or do I just add an a record to the zone file for billybob.com similar to were the dev subdomain entry is?

I can't seem to find a clear example.

Author:  OZ [ Fri Apr 01, 2011 7:26 pm ]
Post subject: 

del

Author:  Ashpool [ Fri Apr 01, 2011 7:26 pm ]
Post subject: 

worked it out. New zone file I think. Well it works.

Edit: kind of

.www.joeblogs.com works

but

joeblogs.com is going to my default apache setup.
.

Looks like its time to delve into the apache side of the config.

Author:  Vance [ Sat Apr 02, 2011 3:19 am ]
Post subject: 

You probably need to add joeblogs.com to the ServerAlias directive in the appropriate config file. On Ubuntu/Debian, this can be found under /etc/apache2/sites-available. Don't forget to tell Apache to reload its config.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/