vicentemmos
Forum Replies Created
Viewing 1 replies (of 1 total)
-
Forum: Localhost Installs
In reply to: Creating Multiple Local WebsitesHello @rossmitchell, thank you for your answer. I’ve read the links you sent in your reply, I have a few more questions. I have zero knowledge in Apache, really. I’ve modified the httpd.conf file and added the following:
[...] #Listen 12.34.56.78:80 Listen 80 Listen 81 #New port [...] [...] #### Localhost VirtualHost #### <VirtualHost 127.0.0.1:80> <Directory "C:/Program Files/Ampps/www"> Options FollowSymLinks Indexes AllowOverride All Order deny,allow allow from All </Directory> ServerName localhost ServerAlias localhost 127.0.0.1 ScriptAlias /cgi-bin/ "C:/Program Files/Ampps/www/cgi-bin/" DocumentRoot "C:/Program Files/Ampps/www" ErrorLog "C:/Program Files/Ampps/apache/logs/error.log" CustomLog "C:/Program Files/Ampps/apache/logs/access.log" combined </VirtualHost> #My new VirtualHost <VirtualHost 127.0.0.2:81> <Directory "C:/Program Files/Ampps/www"> Options FollowSymLinks Indexes AllowOverride All Order deny,allow allow from All </Directory> ServerName mynewhostname ServerAlias mynewhostname 127.0.0.2 DocumentRoot "C:/Program Files/Ampps/www" ErrorLog "C:/Program Files/Ampps/apache/logs/error.log" CustomLog "C:/Program Files/Ampps/apache/logs/access.log" combined </VirtualHost> [...]
After I did this, https://127.0.0.1 is now unaccessbile, and I still don’t know how to install WordPress into https://127.0.0.2. I know I’m probably missing quite a lot of information here. Have I just ruined all I’ve done so far in https://127.0.0.1? How do I recover it, and how do I create a new instance?
Thank you.
Edit:
Actually, now https://127.0.0.1 is running normally, and https://127.0.0.2 is redirecting me back to https://127.0.0.1. Maybe I did add a new Virtual Host correctly, after all. Any thoughts?
- This reply was modified 3 years, 11 months ago by vicentemmos.
- This reply was modified 3 years, 11 months ago by vicentemmos.
- This reply was modified 3 years, 11 months ago by vicentemmos.
Viewing 1 replies (of 1 total)