Cannot access the website inside www
Posted by: lmsm76 (---.netvisao.pt)
Date: February 15, 2022 02:18PM

Hi,

Wampserver is running green

I've create a database and import all data
Copy the Joomla files inside the folter
change the configuration file of Joomla
I can access localhost and phpmyadmin
I created a virtualhost

if I open the created virtualhost I receive a "can't reach this page"


My hosts file seems Ok


Any help? Thanks in advance.

Options: ReplyQuote
Re: Cannot access the website inside www
Posted by: RiggsFolly (Moderator)
Date: February 15, 2022 03:29PM

This is likely to do with how you have configured Joomla and your Virtual Host. Nothing to do with WAMPServer itself.

We would not mind helping, but really you have not given us any information that would allow us to help

---------------------------------------------------------------------------------------------
(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-

Options: ReplyQuote
Re: Cannot access the website inside www
Posted by: lmsm76 (---.netvisao.pt)
Date: February 16, 2022 04:10AM

Hi @RiggsFolly

Indeed I did a installation in a new folder of a fresh Joomla and it worked just fine.

So I dig a little bit in the installation that I wanted to make local and after a new .htaccess, deleted the cache and disable a plugin that was doing a redirect, finally it's working.

Thanks!

Options: ReplyQuote
Re: Cannot access the website inside www
Posted by: SoniaCha (139.28.219.---)
Date: February 16, 2022 02:17PM

The problem was in the settings of Joomla or a plugin that did a redirect?



Edited 2 time(s). Last edit at 02/16/2022 02:17PM by SoniaCha.

Options: ReplyQuote
Re: Cannot access the website inside www
Posted by: lmsm76 (---.netvisao.pt)
Date: February 17, 2022 01:35AM

Hi, it was this plugin [www.petitpoisson.be]


I believe that the .htaccess was not perfect, so I used the original Joomla 3.x htaccess.txt


But searching in the database I found my "live" domain mentioned in table _extension the "plg_system_domainredirect".

I disabled the plugin, and like I said used the original htaccess.txt and is now working just fine in wamp inside a Virtual Machine.

Options: ReplyQuote
Re: Cannot access the website inside www
Posted by: Otomatic (Moderator)
Date: February 17, 2022 09:27AM

Hi,

> htaccess.txt

To be functional, an htaccess file must be named .htaccess yes, with a dot at the beginning of the name and without extension. Any other name makes it non-functional.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Cannot access the website inside www
Posted by: lmsm76 (---.netvisao.pt)
Date: February 17, 2022 01:38PM

Hi Otomatic,

Yes for sure, off course I used the "htaccess.txt" but renamed to ".htaccess".

Thanks.

Options: ReplyQuote


Sorry, only registered users may post in this forum.