When installing WP onto an IP address (or hostname), WP will only respond to requests on that IP address. Any request from another IP address even if it resolves to the same server, will result in a redirect to a WP error page.
In this situation, I would do this:
- Install WP on the public IP address. This will work if you can route to the public IP address internally.
- f you cannot route to the public IP address internally then I suggest installing on a hostname. You need to configure your DNS so that internally it will resolve to the internal IP address; and externally it will resolve to the public IP address.
Related Posts:
- How to remove “http://” When Echoing URL?
- Remove site root trailing slash
- Remove / from www.example.com/ [closed]
- Showing my server ip in source code for several links not for all links
- Making a site URL
- What’s the difference between home_url() and site_url()
- Getting the Site URL Including the Front Base
- How to remove /index.php/ from URL’s
- Run WordPress frontend and backend in different domains
- Unable to load static front page on home url
- Change homepage url
- How can I change all links on pages to point to a different domain from where the site is hosted?
- home_url(); showing current page instead of site address
- URL parsing – what is it?
- Changing my site url from azure.net to custom domain
- Putting my site live
- Site broken after using URL Change in Admin
- wp-config dynamic hostname in WP_HOME and WP_SITEURL
- Avoid the removal of “https:” from URLs
- Confusion about Site url and directory
- hijacking home_url for root relative paths
- hide wp-content from urls
- WordPress get parameter ‘unapproved’ and ‘moderation-hash’
- Changing the website URL to the root folder
- How do I avoid messing up URLs when switching from example.com/subdir to example.com?
- DNS – Change WordPress Site Name?
- Alternatives to site_url() and get_template_directory_uri()
- What is the best way to revert to www version of domain name?
- Localhost access after changing URL
- Changing siteurl in the database not working
- How to make a seo friendly URL of 2 different pages with same words
- Why my URL has an unknown character string?
- Change of “home” results in timeouts (only on index.php)
- Moving Site: Is Re-downloading Files After Changing URLs necessary?
- Two domain site: Link base URLs point to wrong domain
- How to retrive previous Domain URL in Wp
- Accidentally Changed WordPress Url
- Multisite subdirectory blogs missing slash
- Lost WordPress website access after changing URL [closed]
- My Website’s Main URL redirects me to an Archive Page
- Can’t change url because site address is greyed out
- How to Convert Parent Page’s URL in Singular Name format when Child page is open
- How to get rid of %20 from the URL? Due to this, duplicate pages are being created
- How do you retrieve a post by slug name through REST API?
- Why “?v=hash” is added to my URLs? [closed]
- Detecting a WordPress URL without doing a full HTTP GET?
- How does WordPress generate URL slugs?
- How does routing on wordpress work?
- Redirecting to old domain after migration
- Custom plugin route in WordPress
- Why is ?doing_wp_cron being appended to my URLs
- Unwanted media library URLs in posts?
- Symbolic Links on dev box with plugins and stylesheets
- Switching MultiSite installation from HTTP to HTTPS
- Control verbosity level of WP DEBUG?
- How to remove file versions from the file source links in wp_head?
- use query string in URL to display content on the page
- Change default URL path (/blog/) of blog posts
- Difference between esc_url() and esc_url_raw()
- Prevent “main” WPMU site_url() being returned in functions
- How to deal with WordPress on localhost
- Problem with guids and absolute links
- How to convert the file path to a URL of the same file?
- Add menu and submenu in admin with a URL instead of slug?
- Update media file url in wordpress media library
- Why is WordPress saving full-urls to the database?
- Get taxonomy slug from url
- How to use live images on local install?
- Load images with http urls inside https post
- Remove All Query Arg
- Difference between bloginfo(‘home’) and home_url() and site_url()
- Generate WordPress salt
- WordPress PHP error handling and reporting in production environment
- How to combine javascript files without plugins?
- Pulling a parameter out of the URL of a WP link without “?” or being sent to a different page
- Declaratively Configuring WordPress in XML or JSON or YAML
- How to set global variable in functions.php
- Force the Website URL to Include “www” and to be Upper Case?
- Change logo url link
- WordPress and $_GET Params
- Override Current Theme Setting in wp_config.php
- Can’t login after my site was moved to a new server
- WPML Get url without outputting
- Dynamic URL to reference custom PHP files
- How to inject custom url path for page ?
- List of default WordPress URLs
- How to set ipv6 address as siteurl?
- Why WP encodes UNICODE (UTF8) containing urls? Any drawbacks of UNICODE url?
- Adding a hook to ‘parse_request’ so that siteurl/pagename/xyz ignores “xyz”
- How to have numeric URLs in Posts and Pages
- Force home page to be https?
- Why WordPress automatically removes http from the url of my website’s sub domain?
- add_query_arg() One Key with multiple values
- Weird: /?name in URL leads to blog
- I am Looking to append URL Parameter to all URLs
- Login to wp-admin “redirect_to” points to wrong URL after migration
- How do I amend the fixed “author” part in the URL?
- WordPress Move to SSL How to Update Media Assets to HTTPS?
- Dynamic URL generates dynamic content
- Moving wp-content outside of web root?