Fantastic tutorial on setting up virtual host Riggs. thanks heaps.
I think I managed to get it going and understand the concept somewhat - i.e. I am able to access the wampserver page and wordpress setup pages via localhost. When i change "require local" to "require all granted" for the 8characters.synology host, i am able to access the wordpress site from internet (via hp 3g broadband tested) . However try as i might, i have not been able to get the 'My virtual hosts' menu to show for some strange reason. Appreciate your help in directing my troubleshooting:
Version of Operating system? - Windows 8.1 pro 64bit
Version of Wamp Server installed? - WampServer Version 2.5 64bit
Version of Apache you are running? 2.4.9
Version of MySQL you are running? 5.6.17
Version of PHP you are running?5.5.12
What colour is your WampManager icon? ( the in the system tray )
It could be Green, Orange or Red - GREEN
httpd-vhosts.conf file:
<VirtualHost *:80>
DocumentRoot "c:/wamp/www"
ServerName localhost
ServerAlias localhost
<Directory "c:/wamp/www">
AllowOverride All
Require local
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin
webmaster@8characters.synology.meDocumentRoot "c:/wamp/www/8characters.synology.me"
ServerName 8characters.synology.me
ServerAlias www.8characters.synology.me
ErrorLog "logs/8characters.synology.me-error.log"
CustomLog "logs/8characters.synology.me-access.log" common
<Directory "c:/wamp/www/8characters.synology.me">
AllowOverride All
Require local
</Directory>
</VirtualHost>
HOSTS file:
127.0.0.1 localhost
127.0.0.1 8characters.synology.me
::1 localhost
::1 8characters.synology.me
httpd.conf file:
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
wampmanager.tpl file:
[Menu.Left]
;WAMPMENULEFTSTART
Type: separator; Caption: "Powered by Alter Way"
Type: item; Caption: "${w_localhost}"; Action: run; FileName: "${c_navigator}"; Parameters: "[
localhost];; Glyph: 5
;WAMPPROJECTSUBMENU
;WAMPVHOSTSUBMENU