WAMP noob questions
Posted by: nrg (---.adsl.online.nl)
Date: October 10, 2017 06:05PM

Hi,

probably been asked already many times.
I searched the forum but could not find a satisfying answer yet.

So i checked with vcredist checker, it says: all vc++ needed packages are installed correctly.
Then i installed WAMP, had no errors, i can login to PHP, MSQL.

I can open Virtualhost --> localhost, no problem.

Then i proceed and create a directory on my drive where i want to host my test site,
i then start the add virtualhost procedure through the WAMP taskbar icon (which is always green).

The virtualhost is added , i restart the DNS as requested by WAMP.

I then click the green WAMP icon , --> your virtualhosts ---> myhostname

I get the DNS error problem, site can not be found.

can see on the localhost page that the newly added virtual host is there.


I checked the host file, the lines for the local loop are un-commented

Any help would be welcome at this point :-)



Edited 1 time(s). Last edit at 10/10/2017 10:14PM by nrg.

Options: ReplyQuote
Re: WAMP noob questions
Posted by: RiggsFolly (Moderator)
Date: October 11, 2017 10:38PM

Did you add your new ServerName to the hosts file before resetting the DNS Cache?

So if your server name is for example example.com then you hosts file should contain

127.0.0.1  localhost
127.0.0.1  example.com

::1  localhost
::1  example.com

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> < 7.2/PHP 7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: WAMP noob questions
Posted by: nrg (---.adsl.online.nl)
Date: October 12, 2017 06:57AM

Hi,

yes the newly added virtualhost is added to the host file.

Options: ReplyQuote
Re: WAMP noob questions
Posted by: RiggsFolly (Moderator)
Date: October 12, 2017 11:03AM

OK,

So can you show us your `httpd-vhosts.conf` file and your HOSTS file please.

Also always include the complete error message and not a summary of it. Thanks

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> < 7.2/PHP 7.1/7.0/5.6/5.5/5.4> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.7.5> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote


Sorry, only registered users may post in this forum.