I'm running apache2 on a local server. I use no-ip.com to route DNS to that server through my cable modem. While disconnected from the web and working on localhost my web pages don't render the CSS since WordPress is linking to the absolute domain URL.
In my /etc/apache2/sites-available/default file for this host i have
ServerName www.example.com and
ServerAlias localhost which isn't working to let me view my site offline
What can I add to my virtual hosts file to render the CSS? Or am I out of luck with WP and my zend application pointing to the domain which is unreachable while offline?
Just a note only after I realized the file paths caused a problem while browsing localhost did I add the
ServerAlias to try and get it to work.