To be more precise I have added this code to httpd-vhosts.conf folder
<VirtualHost retherenn>
DocumentRoot "C:/wamp/www/retherenn/"
ServerName retherenn
ServerAlias retherenn
<Directory "C:/wamp/www/retherenn/">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
But this didn't work. Then I changed this line a little bit, and instead of
<VirtualHost retherenn>
I typed <VirtualHost *:80>
and then I changed this folder
C:/Windows/System32/drivers/etc/hosts
and added 127.0.0.1 retherenn.
But it still doesn't work.
I have tried typing retherenn or [
retherenn] or even [
www.retherenn] into URL but all I get is either error 404 or that my DNS is finished and can't be connected.
P.S. I also edited httpd.conf file. I changed it from
#Include conf/extra/httpd-vhosts.conf
into
Include conf/extra/httpd-vhosts.conf.
As I said, I am using wampserver 2.4 x86 for windows xp sp3.
And whenever I make some editing and restart the server, the icon is always green.
My apache version is 2.4.4,
PHP version is 5.4.16
and MYSQL version is 5.6.12.
I hope that it's all required information, so that you could help me with my problem.
Edited 3 time(s). Last edit at 09/23/2016 03:55PM by RiggsFolly.