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
- Custom plugin route in WordPress
- Why is ?doing_wp_cron being appended to my URLs
- Change default URL path (/blog/) of blog posts
- How to deal with WordPress on localhost
- How to convert the file path to a URL of the same file?
- Why is WordPress saving full-urls to the database?
- Generate WordPress salt
- Declaratively Configuring WordPress in XML or JSON or YAML
- Force the Website URL to Include “www” and to be Upper Case?
- WordPress and $_GET Params
- Why WP encodes UNICODE (UTF8) containing urls? Any drawbacks of UNICODE url?
- Force home page to be https?
- Check what is at URI (post, archive, etc…)
- Why does WordPress rely on an fully qualified site_url with a 15-step plan for moving a site?
- How to show the homepage on a different url, like site.com/blog instead of site.com?
- How to rewrite url wordpress?
- Set a custom URL for image in the Media Library?
- How to edit URL Slug?
- Publish Post when URL is available else reschedule the post in wordpress [duplicate]
- Change url links on members loops in buddypress
- Find file url in post content and add it to media library
- rewrite taxonomy-{taxonomy}-{term}.php terms
- blog url redirecting
- How to add URL-Parameter for Javascript Widgets?
- previous_posts_link and next_posts_link, how to return the next/previous post’s title as the url
- Get Top parent url
- Get the URL of the page from which an ajax request has been launched within ajax callback
- Open editor post in a popup
- Organizing the Navigation Menu
- My #id is not showing in the url when the user clicks on the anchor tag
- What php gets called for home_url/somepage URL?
- How to prevent unknown addresses which are accessed from my wordpress website [closed]
- Preventing Canonical Redirect for CDN
- Is there an URL listing latest posts
- Redirecting URL with Twitter Button API Not Working
- How rewriting a url to make it SEO friendly
- Add a paramter to page url
- How to generate expiring URL of the page?
- Plesk login inaccessible after changing site URL
- No url when downloading PDF
- Post not redirecting to non www after changing from www
- Use URL parameter to create dynamic content
- Generate new URL for popup form
- In-page link works in Firefox but not in Chrome
- URL problem in my site
- Duplicate WP Migration affecting site on separate domain?
- My website has some Crawling Errors?
- How can I modify the ‘Insert/edit link’ option to offer root-relative urls?
- Changing the site URL
- WordPress Update Links
- bloginfo no show the right path
- After site transfer I’m still getting redirected to the old site (WordPress)
- All font sizes change when manually typing 2011 into url and going to archive page
- apply styling only to a specific url
- URL, which automatically close tab
- WordPress URLs changed to relative on transferring server
- How to change the default location where new post gets stored?
- Automatic short URL in posts