Tag Info

New answers tagged

0

You did it the right way. Apache always takes the first VirtualHost if multiple entries match. For more information about Virtual Host Matching look at the official documentation: http://httpd.apache.org/docs/2.4/vhosts/details.html


0

The only way that the CSS and JS would be loaded from an IP address is if the HTML code specifies that. You will need to change your HTML code from: <link rel="stylesheet" type="text/css" href="http://192.168.10.10/css/default.css"> to a relative link: <link rel="stylesheet" type="text/css" href="/css/default.css">


1

Reconfigure your localhost server to use port 80 not 8888, your virtual host is using port 80. Or in your wp_options table change your home_url and site_url to use port 8888. Whichever you want to use bot your server and WP have to point to the same port.



Top 50 recent answers are included