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
- use query string in URL to display content on the page
- Get taxonomy slug from url
- Load images with http urls inside https post
- List of default WordPress URLs
- How to set ipv6 address as siteurl?
- add_query_arg() One Key with multiple values
- WP redirects all pages from new domain to old domain
- redirect 301 old url to new url
- How to update media links in WordPress after migration?
- Why ids in urls don’t work but slugs do?
- Check request URL for pattern
- Adding subdomain to home_url for “add_menu_page”
- Rewrite WordPress Standard Feed URL – /feed/ to feed.xml
- wp_insert_post – How do I prevent incremental numbers on child pages?
- Dynamic URL based on user_metadata
- Check if user is logged in to site A when visiting site B
- wp_options siteurl and home hardcoded?
- WordPress on AWS Auto scaling and ELB giving 503
- Localhost port is missing on some links after downgrading MAMP [closed]
- Why am I seeing all these weird ‘loginid’ requests?
- Redirect to another page using contact form 7? [closed]
- Will get_bloginfo(‘url’) return URL with backslash?
- Linking to pages/posts within the site
- How can I identify which file/function will be used to respond to a particular URL?
- Is there a way to test if a URL is part of the current blog?
- Could not find the wordpress page
- An anchor name (id name) in the address bar
- Dynamic URL and pass the data to an iframe
- Unnecessary url
- How to close tab automatically if URL has specific word? [closed]
- Finding URI in Child Theme
- Make custom system url
- Want to change my site root
- Sanitizing URL in a WordPress plugin
- How to display translated content with custom slug?
- How to get a page url segment on wordpress?
- How to make a random dynamic url?
- How to create a user ability to save pages with full url?
- How to bulk Update URLs to new values?
- Add more than one query parameter onto wordpress url
- WordPress Website change directory
- Allow duplicate slugs for pages and posts
- Logging in to installation in subdirectory renders broken dashboard (no CSS, broken links)
- Change dynamically URL to SEO friendly via .htaccess?
- Get userdata from url
- How to make url variable?
- Get value from URL with different types of parameters
- WordPress dynamic subpage for ACF
- From whence %E2%80%8E at the end of post link
- WordPress Address (URL) Reverts back
- How to pass REQUEST_URI to function
- wordpress url with format .com/category/sub-category
- URL Forwarding – wordpress links reverting back
- Get gallery url (Nextgen) [closed]
- How to use query string in URL to display content on the wordpress page
- Function to get custom post image URL
- How to echo a dynamic url
- How can you change the admin dashboard URL without symlinking?
- How to create multiple urls for a same page contents in wordpress
- WordPress is adding pagination for all pages like www.example.com/page/123. How to remove that?