Tag Info

New answers tagged


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


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=""> to a relative link: <link rel="stylesheet" type="text/css" href="/css/default.css">


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