Here is my problem:
My OS is Windows Server 2012 and I have installed XAMPP there.
http://localhost (on port 80) opens the Windows Server.
http://localhost:8080 opens D:\xampp\htdocs\
So I want to run multiple sites on Windows Server, and multiple sites on XAMPP (Apache).
I run a Wordpress site, which physical path is D:\xampp\htdocs\brb and so the site opens in http://localhost:8080/brb
I also have a domain brb.com, but when I set the domain settings to respond to my IP, brb.com opens http://localhost (Windows Server).
What I am trying to do is to set brb.com to open my Apache hosted http://localhost:8080/brb .
I've alredy configurated httpd-vhosts.conf with the following settings:
- Code: Select all
NameVirtualHosts *:8080
<VirtualHost *:8080>
DocumentRoot "D:\XAMPP\htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:8080>
DocumentRoot "D:\XAMPP\htdocs\brb"
ServerName brb.com
<Directory "D:\XAMPP\htdocs\brb">
Options Indexes FollowSymLinks Includes ExecCGI
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Any help will be highly appreciated!