Trying to run WampServer on my pc using multiple WordPress installations
Posted by: sjowiexo (---.dynamic.upc.nl)
Date: August 26, 2017 02:20PM

Hello all,


First of all, I'm new here and new to making websites so bare with me. I've recently setup a website on my localhost, build it, everything went fine and now I'm done. I want to start a new site without deleting my old one. I've watched some tutorials/read some guides but nothing really worked. I got to the point where my virtual hosts file is setup right (deleted a # on vhosts line as the guide said) and in my hosts file I've edited multiple names:

"# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# 127.0.0.1 template1
# 127.0.0.1 template2
# 127.0.0.1 template3
# ::1 localhost "

When I go to localhost/template1 in my browser, I get the WP installation thingy but when I try to fill in my info I get an error. My guess is it has something to do wtih my database but I have no idea how to solve it and Google didn't help too much either on this particular point. Can anyone help me? At this point I'm too scared to do edit any stuff because I'm scared I'll delete my first site by accident.

Thanks in advance!

Best regards

Edit: The goal is to make 3 templates that I can export to a real site multiple times.

Options: ReplyQuote
Re: Trying to run WampServer on my pc using multiple WordPress installations
Posted by: Otomatic (Moderator)
Date: August 26, 2017 03:29PM

Hi,

> When I go to localhost/template1
You MUST use VirtualHost. See The need for Virtual Host

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.1 32 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.1 64 bit - Apache 2.4.29 - PHP 7.1.11/7.0.25/5.6.32 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.5 - 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.