Posted by:
RiggsFolly
(---.dynamic.dsl.as9105.com)
You have mixed Apache 2.2 and Apache 2.4 syntax in here, so remove the
Order Allow,Deny
Allow from all
Also there are some typo's as well in the folder names
So like this
<VirtualHost *:80>
DocumentRoot "C:/wamp/www/discountproduct"
ServerName mywebsite.co.uk
ServerAlias www.mywebsite.co.uk
# Other directives here
<Directory "c:/wamp/www/discountproduct">
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Now to access this you would have to actually own www.mywebsite.co.uk and have amended the DNS to point to your Routers WAN ip address
You would also have to have port forwarded your router so that access to it on port 80 will be forwarded to the internal ip of the PC running WAMPServer
Your PC running WAMPServer should also be amended to be a static ip address, otherwise a reboot can change the PC's ip address and things stop working
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>
Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-