Hi all i want to ask how is it possible to serve multiple sites hosted in my computer with apache through dyndns.I am using ubuntu 10.04 and i had setup a dyndns domain as of mydomain.homelinux.org/ .Also i had setup a virtual host with the below configuration
<VirtualHost *:80> ServerAdmin webmaster@localhost ServerName www.drupal-site.com ServerAlias drupal-site.com DocumentRoot /home/pavlos/Temp/websites/drupal-site/htdocs <Directory /> Options FollowSymLinks AllowOverride all </Directory> <Directory /home/pavlos/Temp/websites/drupal-site/htdocs/> Options FollowSymLinks AllowOverride all Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /home/pavlos/Temp/websites/drupal-site/cgi-bin/ <Location /cgi-bin> Options +ExecCGI </Location> # Logfiles ErrorLog /home/pavlos/Temp/websites/drupal-site/logs/error.log CustomLog /home/pavlos/Temp/websites/drupal-site/logs/access.log combined </VirtualHost>
My /etc/hosts file is:
127.0.0.1 localhost joomla-site.com drupal-site.com 127.0.1.1 medic
Now when i go to mydomain.homelinux.org outside of my lani see the default site of apache.Any suggestions?