I host a WordPress website on my own PC at home www.moodyimage.co.uk using Wampserver64, I have broadband and simply got my domain provider to point their DNS at the IP address of my Virgin Media router, added a rule to let port 80 through the route fire wall and all worked fine,
I have added a second WordPress website on my PC “langridge” which works fine locally after adding entries in my hosts file
192.168.0.15 localhost
192.168.0.15 langridge
And to the httpd-vhosts file a second Virtual host entry
<VirtualHost *:80>
ServerName langridge
ServerAlias langridge
DocumentRoot "${INSTALL_DIR}/langridge"
<Directory "${INSTALL_DIR}/langridge/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
But how do I get www.langridgephotography.com (currently parked) to point to this second instance on my PC?
Do I use a different port? or do I just get the DNS for my second site to point to the same IP address and Apache is clever enough to point each domain name at the right WordPress instance on my PC ?
Thanks, Michael…..
I have added a second WordPress website on my PC “langridge” which works fine locally after adding entries in my hosts file
192.168.0.15 localhost
192.168.0.15 langridge
And to the httpd-vhosts file a second Virtual host entry
<VirtualHost *:80>
ServerName langridge
ServerAlias langridge
DocumentRoot "${INSTALL_DIR}/langridge"
<Directory "${INSTALL_DIR}/langridge/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
But how do I get www.langridgephotography.com (currently parked) to point to this second instance on my PC?
Do I use a different port? or do I just get the DNS for my second site to point to the same IP address and Apache is clever enough to point each domain name at the right WordPress instance on my PC ?
Thanks, Michael…..