This is what I'm attempting to achieve:
example.com > site
www.example.com > site
I've created the site as a virtual host:
/etc/apache2/sites-available/example
Visitting the sites shows:Code:<VirtualHost *:80> ServerAdmin me@example.com ServerName example.com ServerAlias *.example.org.uk DocumentRoot /home/me/Sites/example/www <Directory /home/me/Sites/example/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost>
http://example.com/ > Server page
http://www.example.com/ > Example page
Any suggestions please?



Adv Reply

Bookmarks