windows 10 pro, xampp v7.4.33 - got xampp setup and working, but I'm trying to setup virtual host for 2 sites using the same ip. Here's how I've set it up so far:
D:/xampp/htdocs/wptng.jpj/public_html/ - all wordpress files go in here
D:/xampp/htdocs/tng.jpj/public_html/ - all tng files go here
my hosts file is this:
- Code: Select all
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 tng.jpj www.tng.jpj
127.0.0.1 wptng.jpj www.wptng.jpj
my httpd-vhosts.conf is this:
- Code: Select all
## VHost for TNG
<VirtualHost *:80>
##ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "D:/xampp/htdocs/tng.org/public_html"
ServerName tng.org
ServerAlias www.tng.org
ErrorLog "logs/tng.org-error.log"
CustomLog "logs/tng.org-access.log" common
<Directory "D:/xampp/htdocs/tng.org/public_html">
</Directory>
</VirtualHost>
## VHost for WPTNG
<VirtualHost *:80>
##ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "D:/xampp/htdocs/wptng.org/public_html"
ServerName wptng.org
ServerAlias www.wptng.org
ErrorLog "logs/wptng.org-error.log"
CustomLog "logs/wptng.org-access.log" common
<Directory "D:/xampp/htdocs/wptng.org/public_html">
</Directory>
</VirtualHost>
trying to install wordpress I'm trying to get to: http://localhost/wptng.jpj/public_html/wp-admin/install.php but get the Not Found error
Any help or suggestions of what I'm doing wrong would be greatly appreciated
John Paul