Localhost error
Posted by: paul@ashtonhayespc.co.uk (---.range81-158.btcentralplus.com)
Date: November 03, 2020 01:42PM

Good morning, apologies if this is a really silly question but I have tried all the usual things and the troubleshooting tips in the other relevant areas to no avail.

I have WAMP64 installed on a Windows 10 laptop.

[localhost] works fine and the WAMP dashboard appears

However, if I try to access anything in any subfolder of the www folder I get a "This site can’t be reached localhost refused to connect." error.

Can anyone tell me what I need to do to make it work?

I have a Wordpress install in the subfolder.


Options: ReplyQuote
Re: Localhost error
Posted by: Otomatic (Moderator)
Date: November 03, 2020 02:41PM


> I have a Wordpress install in the subfolder.

Local sites must be installed in VirtualHosts, as with all hosting providers.
The need for Virtual Host
Wampserver 3 - Create or add a VirtualHost
Why to create a VirtualHost BEFORE installing a CMS

Wampserver 3.2.8 32 bit - Apache 2.4.52 - PHP 8.1.2…5.6.40 - MySQL 5.7.37 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.8 64 bit - Apache 2.4.52 - PHP 8.1.2…5.6.40 - MySQL 5.7.37/8.0.28 - MariaDB 10.5.13/10.6.5
PhPMyadmin 5.1.2 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote

Sorry, only registered users may post in this forum.