virtuel host and wp wp-config.php
Posted by: egoph (---.bredband.comhem.se)
Date: May 24, 2017 02:02PM

Is it enough to specify 'localhost' as adress? as this
/** MySQL-server */
define('DB_HOST', 'localhost');

One Moore. When I have virtual submenu and all my project virtual
can I open via project from wampserver homepage.insted of virtual

And hopefully finally Is it best to make a seperate host in windows hostfile for each project

like 127.0.0.01 project1
127.0.02 project2

Options: ReplyQuote
Re: virtuel host and wp wp-config.php
Posted by: RiggsFolly (Moderator)
Date: May 24, 2017 09:28PM

Hi

1. YES, but sometimes 127.0.0.1 is quicker.

2. YES, but why bother using the WAMPServer homepage. Use the virtual host domain name.

3. YES you must ALWAYS do that in order to access the domain from the PC running WAMPServer.

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <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: virtuel host and wp wp-config.php
Posted by: egoph (---.bredband.comhem.se)
Date: May 27, 2017 01:21AM

when I use the virtual meny/ name I cant reach my admin panel for the site. Its the same if I go via project at the wamp menu. First time I have registered the WP site I come in to my admin. Then its impossible.
I have tried with adding the local host but its the same?

Options: ReplyQuote
Re: virtuel host and wp wp-config.php
Posted by: RiggsFolly (Moderator)
Date: May 27, 2017 01:41AM

WordPress move site instructions may help [codex.wordpress.org]

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <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.