I am brand new to XAMPP. I have version 7.2.2 installed under Windows 10. I have also installed WordPress by creating a folder under htdocs and extracting WordPress version 4.9.4 to this folder. For example sake, let's assume the folder under htdocs is named test. After going through the install for WordPress and confirming that it is working, I also setup a URL through no-ip.com and direct my port 80 traffic to this Windows 10 machine. This is all working. Lastly, I was trying to configure VirtualHost entries. Let's assume the external URL is test.hopto.org. Traffic is being routed appropriately, but all images and style sheets are not loading appropriately. It appears that the images and style sheets are being written as
http://localhost/test/wp-content/themes/twentyseventeen/assets/images/header.jpg instead of
http://test.hopto.org/wp-content/themes/twentyseventeen/assets/images/header.jpg. Because I am new to this, I am not sure what I am missing. Here is what my VirtualHost entry looks like:
- Code: Select all
<VirtualHost *:80>
DocumentRoot "c:\xampp\htdocs\test"
ServerName test.hopto.org
ServerAlias test.hopto.org
</VirtualHost>
What configuration point am I missing? Thanks for you assistance.