Title: localhost home web server
Last modified: August 18, 2016

---

# localhost home web server

 *  Resolved [perra](https://wordpress.org/support/users/perra/)
 * (@perra)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/localhost-home-web-server/)
 * Ok, I have WP working on a home server and as long as I work on the host computer
   everything works fine. However, when I access WP from a remote machine on the
   network all css formatting is lost and the links include localhost/WPname instead
   of machinename/WPname uri’s.
 * I tested another directory within the httpd directory (e.g. apache manuals) which
   reflect the correct path, machinename/manuals and corresponding uri’s.
 * Haven’t been able to figure it out.
 * Platform: Windows XP Pro, Apache 2, MySql 4, Php 4, mod_rewrite loaded.
 * Thanks in Advance.

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/localhost-home-web-server/#post-290341)
 * In Options > General you set 2 URIs, those define where your blog is.
    If it 
   is set to local – it cannot be on the internet: every machine that accesses it
   will “think” of ‘localhost’ as themselves 🙂
 *  [chaaban](https://wordpress.org/support/users/chaaban/)
 * (@chaaban)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/localhost-home-web-server/#post-290343)
 * maybe you can put the ip of your machine .
 * when u run apache you can access (sometime you have to do some modifications)
   http//your-ip
 * if u put this in your wordpress control panel (what moshu told you ) it might
   work .
 *  [McShelby](https://wordpress.org/support/users/mcshelby/)
 * (@mcshelby)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/localhost-home-web-server/#post-290345)
 * On WinXP you can also use the name of your workstation instead of localhost. 
   By that you are able to access your local webserver from every Windows workstation
   inside your LAN.
 *  Thread Starter [perra](https://wordpress.org/support/users/perra/)
 * (@perra)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/localhost-home-web-server/#post-290398)
 * Replacing the ip address for the localhost in the Options > General worked (e.
   g. http//your-ip/WPname instead of http//localhost/WPname), Thanks All.
 * Next, since the router is a dhcp server and randomly (dynamically) assigns the
   internal local ip address which can change at any time (e.g. on router reboot
   after reconfiguration of network machines and/or other hardware), which would
   be the best approach to solving this part of the configuration? Options:
 * 1. Through ip based virtualhost in the Apache httpd configuration file, e.g.
 * #NameVirtualHost 192.168.1.XX
 * #<VirtualHost 192.168.1.xx>
    ServerName Whatever DocumentRoot C:/WhereverApacheResides/
   htdocs #</VirtualHost>
 * or
 * 2. Through name based virtualhost in the Apache httpd configuration file, e.g.
 * #NameVirtualHost *:80
 * #<VirtualHost *:80>
    ServerName Whatever DocumentRoot C:/WhereverApacheResides/
   htdocs #</VirtualHost>
 * or
 * 3. Some other solution?
 * Note: Directives commented out, just in case!!! For use they would need to be
   uncommented. (For other users getting started).
 * Again, Thanks in Advance
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/localhost-home-web-server/#post-290401)
 * How to set up a server is beyond the scope of the WP Forum. You could probably
   get better support for that in places that are specialized in server issues.
 *  Thread Starter [perra](https://wordpress.org/support/users/perra/)
 * (@perra)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/localhost-home-web-server/#post-290498)
 * Thanks Moshu for the previous help tips.
 *  Thread Starter [perra](https://wordpress.org/support/users/perra/)
 * (@perra)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/localhost-home-web-server/#post-290551)
 * Solution:
    These next pages provided a solution that worked for me in setting
   up virtual hosts. The last page includes a specific solution for WP. Hope it 
   can help someone.
 * Virtual hosting and PHP for local develpment
    [http://techpatterns.com/forums/about405.html](http://techpatterns.com/forums/about405.html)
 * Apache Webserver :: MySQL etc.
    [http://techpatterns.com/forums/forum-17.html](http://techpatterns.com/forums/forum-17.html)
 * Apache 2.0.50,PHP 4.3.8,mod_rewrite and WordPress 1.5????
    [http://techpatterns.com/forums/about376.html](http://techpatterns.com/forums/about376.html)
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/localhost-home-web-server/#post-290552)
 * Thanks for posting back the solution.
    However, for the not-so-techie users I’d
   still recommend the installation of XAMPP for local development.
 *  [Blade](https://wordpress.org/support/users/blade/)
 * (@blade)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/localhost-home-web-server/#post-290707)
 * Thank you to you all, i was having problems with my localhost server and was 
   searching for a simple easy to understand solution without luck, that is until
   i found this post in my search engine followed what moshu said about Options 
   > general….realised my localhost port was blocked clicked a box and hey presto
   working perfectly(Shame i didnt find it 3 months ago) so i joined the site. Thanks
   again for a very helpful straight forward post 🙂
 * Mick

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘localhost home web server’ is closed to new replies.

## Tags

 * [home](https://wordpress.org/support/topic-tag/home/)
 * [server](https://wordpress.org/support/topic-tag/server/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 5 participants
 * Last reply from: [Blade](https://wordpress.org/support/users/blade/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/localhost-home-web-server/#post-290707)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
