Title: Adding 2 WordPress adresses
Last modified: July 12, 2019

---

# Adding 2 WordPress adresses

 *  [augustolf](https://wordpress.org/support/users/augustolf/)
 * (@augustolf)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/adding-2-wordpress-adresses/)
 * Hello, I basically installed my WordPress at a home server and in the Options-
   >General the address shown is the local IP address of the server. If I change
   it to the external address due to my router firmware I am unable to reach it.
   How can I add the 2 address so that I can reach WordPress from inside my house
   and outside?

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 11 months ago](https://wordpress.org/support/topic/adding-2-wordpress-adresses/#post-11727510)
 * On the machines inside your house, you’d edit the hosts file to add a line like
 * `192.168.0.10 mydomain.com www.mydomain.com`
 * [https://support.rackspace.com/how-to/modify-your-hosts-file/](https://support.rackspace.com/how-to/modify-your-hosts-file/)
 * And in settings->general, you’d make your site `mydomain.com`.
 *  Thread Starter [augustolf](https://wordpress.org/support/users/augustolf/)
 * (@augustolf)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/adding-2-wordpress-adresses/#post-11729272)
 * It didn’t worked… Any other idea?
    -  This reply was modified 6 years, 11 months ago by [augustolf](https://wordpress.org/support/users/augustolf/).
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 11 months ago](https://wordpress.org/support/topic/adding-2-wordpress-adresses/#post-11729360)
 * What do you mean by “it didn’t work”. What happens?
 *  Thread Starter [augustolf](https://wordpress.org/support/users/augustolf/)
 * (@augustolf)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/adding-2-wordpress-adresses/#post-11729363)
 * I’ve lost my inside access (inside my home) and now it is only available outside
   of my house network
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 11 months ago](https://wordpress.org/support/topic/adding-2-wordpress-adresses/#post-11729365)
 * If you go directly to the IP address, does it work from inside your home?
 * Note: Putting a web server on your home network that is outside-facing is NOT
   a good idea. If your site gets hacked, the hackers are inside your firewall. 
   Just sayin’.
 *  Thread Starter [augustolf](https://wordpress.org/support/users/augustolf/)
 * (@augustolf)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/adding-2-wordpress-adresses/#post-11729375)
 * When in the settings (Options->General) I put my domain I can only access my 
   website from outside my home and when I change it to the local IP address I only
   can access it from inside my house. So what i want to do is basicly add both 
   addresses so that I can access inside and outside my home.
 * I have a home server and the only port openned is the HTTP for the server, is
   that a security problem?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [6 years, 11 months ago](https://wordpress.org/support/topic/adding-2-wordpress-adresses/#post-11729419)
 * What exactly did you put in the hosts file?

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

The topic ‘Adding 2 WordPress adresses’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 7 replies
 * 2 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/adding-2-wordpress-adresses/#post-11729419)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
