Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 06, 2017 02:47PM

Also forgot to add to previous message.


***** Test which uses port 80 *****

===== Tested by command netstat filtered on port 80 =====


Test for TCP
Port 80 is not found associated with TCP protocol
Port 80 is not found associated with TCP protocol

===== Tested by attempting to open a socket on port 80 =====

Your port 80 is not actually used.

Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 06, 2017 02:58PM

Also as an extra to my two previous messages I have just found in httpd-vhosts.conf

<VirtualHost *:7777>
ServerName localhost
DocumentRoot C:/wamp/www
<Directory "C:/wamp/www/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

Does this cause me the problem??

Re: How to run 2 versions of WAMP
Posted by: RiggsFolly (Moderator)
Date: July 06, 2017 03:24PM

Well I would definitely consider putting you site in here as a Virtual Host if you want to be able to get to it

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

Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 06, 2017 10:04PM

Just done that. It makes no difference.

Besides in the past I have never put anything in httpd-vhosts.conf it has always been put in httpd.conf

I have powered down my old computer, so nothing should be available from there.

In trying to access www.fruitnuttrees.co.uk on Firefox on my new server, it waits then times out. Which means for some reason it is trying to access my old server which is switched off.

Sure enough reboot my old server, and www.fruitnuttrees.co.uk on Firefox on my new server, and it comes up with start page on my old server.

I am now pulling my hair out. This should not happen ?

Re: How to run 2 versions of WAMP
Posted by: RiggsFolly (Moderator)
Date: July 07, 2017 09:54AM

Have you added this new domain to your hosts file?

127.0.0.1 fruitnuttrees.co.uk
::1 fruitnuttrees.co.uk

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

Re: How to run 2 versions of WAMP
Posted by: Otomatic (Moderator)
Date: July 07, 2017 06:11PM

Hi,

IPv4 address for fruitnuttrees.co.uk: 82.10.18.252
IPv4 address for www.fruitnuttrees.co.uk: 82.10.18.252

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

Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 07, 2017 11:16PM

Hi Riggsfolly

When you say "Have you added this new domain to your hosts file?"

Sorry for my ignorance, but is the Windows 10 c:\Windows\System32\Drivers\etc\hosts



Edited 1 time(s). Last edit at 07/08/2017 01:22AM by gray_b.

Re: How to run 2 versions of WAMP
Posted by: RiggsFolly (Moderator)
Date: July 08, 2017 09:56PM

Yes

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

Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 11, 2017 10:59AM

Hi- I have put new domain into hosts file. But it will not accept fruitnuttrees.co.uk only www.fruitnuttrees.co.uk

I have also changed port from 7777 to 8080, but this does not change anything.

VirtualHost configuration:

Default server: localhost
On port 8080 Virtual Host: localhost
On port 8080 Virtual Host: www.fruitnuttrees.co.uk


Still no luck in getting it running.

I can get the following to work.
[localhost]
[localhost] (this is the admin of ecommerce prestashop)

The following does not work

localhost:8080/prestashopv1.7.1/
this resolves itself to
[www.fruitnuttrees.co.uk]
and then does not work

Also www.fruitnuttrees.co.uk still brings up the start page on my old computer server.

Any ideas

Re: How to run 2 versions of WAMP
Posted by: RiggsFolly (Moderator)
Date: July 11, 2017 01:43PM

Maybe it would help if you showed us you httpd-vhosts.conf file

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

Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 11, 2017 05:48PM

Dump of httpd-vhosts.conf

<VirtualHost *:8080>
	ServerName localhost
	DocumentRoot c:/wamp64/www
	<Directory  "c:/wamp64/www/">
		Options +Indexes +Includes +FollowSymLinks +MultiViews
		AllowOverride All
		Require local
	</Directory>
</VirtualHost>
#
<VirtualHost *:8080>
		ServerAdmin gvbale@balesfield.co.uk
    ServerName www.fruitnuttrees.co.uk
    ServerAlias fruitnuttrees.co.uk
    DocumentRoot C:/wamp64/www/
    ErrorLog logs/fruitnuttrees.co.uk-error.log
    CustomLog logs/fruitnuttrees.co.uk-access.log common 
    <Directory "c:/wamp64/www/"> 
      AllowOverride All
	Order allow,deny
	Allow from all 
   </Directory>
</VirtualHost>



Edited 1 time(s). Last edit at 07/11/2017 06:30PM by RiggsFolly.

Re: How to run 2 versions of WAMP
Posted by: RiggsFolly (Moderator)
Date: July 11, 2017 06:31PM

Change these 2 values as follows


ServerName fruitnuttrees.co.uk
ServerAlias www.fruitnuttrees.co.uk

Just a small reminder: WAMPServer is created as a developer tool and a learning environment.

The idea is that you install it, and it provides you with an environment to play with and learn on

It was never the idea of this forum to provide Noob to Expert training.

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



Edited 2 time(s). Last edit at 07/11/2017 06:34PM by RiggsFolly.

Re: How to run 2 versions of WAMP
Posted by: gray_b (---.3-2.cable.virginm.net)
Date: July 12, 2017 04:04PM

Changing servername and serveralias has no effect.

Besides, I believe its Apache convention to have

ServerName www.example.com
ServerAlias example.com



Just a small reminder: If you do not ask questions you will never learn to become an expert, and Its no good having the knowledge and not sharing it.

Sorry, only registered users may post in this forum.