DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   *nix Software (http://www.daniweb.com/forums/forum111.html)
-   -   Apache2 Subdomains (DynDNS) (http://www.daniweb.com/forums/thread150054.html)

jtmcgee Oct 8th, 2008 8:01 pm
Apache2 Subdomains (DynDNS)
 
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?

jtmcgee Oct 8th, 2008 8:11 pm
Re: Apache2 Subdomains (DynDNS)
 
While playing around waiting for a reply found the solution. So.. I guess this topic can be closed.

williebens Nov 24th, 2008 8:16 pm
Re: Apache2 Subdomains (DynDNS)
 
Hello jtmcgee:

Is it possible for you to post the solution to your problem?

Thanks.
--Willie


All times are GMT -4. The time now is 7:20 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC