View Single Post
Join Date: Oct 2007
Posts: 11
Reputation: jtmcgee is an unknown quantity at this point 
Solved Threads: 0
jtmcgee jtmcgee is offline Offline
Newbie Poster

Apache2 Subdomains (DynDNS)

 
0
  #1
Oct 8th, 2008
Ok, so I have got the free service of DynDNS from DynDNS.com. Now at example.sample.com I have a website working just fine. Now how do I, in the "sites-enabled" area, that is include in the apache config, set up more subdomains? Right now in the sites-enabled file I have

NameVirtualHost example.sample.com

<VirtualHost 127.0.0.1>
DocumentRoot "/var/www/"
ServerName localhost
</VirtualHost>
<VirtualHost 127.0.0.1>
DocumentRoot "/var/www/music/"
ServerName music.localhost
</VirtualHost>
<VirtualHost 127.0.0.1>
DocumentRoot "/var/www/"
ServerName example.sample.com
</VirtualHost>
<VirtualHost 127.0.0.1>
DocumentRoot "/var/www/music"
ServerName music.example.sample.com
</VirtualHost>



What needs to change? And do I need to set anything up in the DynDNS website besides enabling wildcards?
Reply With Quote