{"id":9727,"date":"2009-06-30T20:28:00","date_gmt":"1999-11-29T20:00:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=9727"},"modified":"2009-06-30T20:28:00","modified_gmt":"1999-11-29T20:00:00","slug":"dotnetnuke-site-redirects-to-localhost","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=9727","title":{"rendered":"DotNetNuke Site Redirects To Localhost"},"content":{"rendered":"<p>We\u2019re changing the IP address range on the firewalls so we\u2019re adding in the new NAT rules in addition to the old ones for a smooth transition.\u00a0 <\/p>\n<p>We started with a web server.\u00a0 The site uses DotNetNuke.\u00a0 We tested the new IP and the server wouldn\u2019t load the page on clients.\u00a0 Luckily we\u2019d kept the old IP and could confirm the site was OK on that.\u00a0 I ran Network Monitor 3.3 on the server (NetMon part of my standard server installation package) and on my client to check things out.\u00a0 Our network engineer started looking at router and firewall traces.\u00a0 I could see traffic coming into TCP 80 but the conversation was short.\u00a0 On the client end I could see the same.\u00a0 I compared with a working conversation on the old IP address and saw that there was a different HTTP status code at the start.\u00a0 The failing server was giving me a 302.\u00a0 In fact, my client was loading localhost instead of the site on the new IP address; that was the 302 code redirect.<\/p>\n<p>I swapped in a default IIS7 site and tested.\u00a0 It worked perfectly.\u00a0 The site bindings were the default norms on the hosted site so it wasn\u2019t that.<\/p>\n<p>I decided to google (I cannot bring my self to say I binged or bonged something, Microsoft) for DotNetNuke redirecting to localhost.\u00a0 Badda-bing!\u00a0 It appears DotNetNuke has it\u2019s own site binding configuration in a SQL table called PortAlias.\u00a0 I added in a row and added in the new IP address to test.\u00a0 That worked perfectly.<\/p>\n<p>I now need to have a long shower after doing developer work \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We\u2019re changing the IP address range on the firewalls so we\u2019re adding in the new NAT rules in addition to the old ones for a smooth transition.\u00a0 We started with a web server.\u00a0 The site uses DotNetNuke.\u00a0 We tested the new IP and the server wouldn\u2019t load the page on clients.\u00a0 Luckily we\u2019d kept the &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=9727\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;DotNetNuke Site Redirects To Localhost&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_wpcom_ai_launchpad_first_post":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-9727","post","type-post","status-publish","format-standard","hentry","category-iis"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"We\u2019re changing the IP address range on the firewalls so we\u2019re adding in the new NAT rules in addition to the old ones for a smooth transition. We started with a web server. The site uses DotNetNuke. We tested the new IP and the server wouldn\u2019t load the page on clients. Luckily we\u2019d kept the\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"AFinn\"\/>\n\t<meta name=\"google-site-verification\" content=\"TDKjbi2McB2eLIfL6KwPB3aQqv5E-mbcb2QYIcovGaI\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/aidanfinn.com\/?p=9727\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Aidan Finn, IT Pro - A blog covering Azure, Hyper-V, Windows Server, desktop, systems management, deployment, and so on ...\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"DotNetNuke Site Redirects To Localhost | Aidan Finn, IT Pro\" \/>\n\t\t<meta property=\"og:description\" content=\"We\u2019re changing the IP address range on the firewalls so we\u2019re adding in the new NAT rules in addition to the old ones for a smooth transition. We started with a web server. The site uses DotNetNuke. We tested the new IP and the server wouldn\u2019t load the page on clients. Luckily we\u2019d kept the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/aidanfinn.com\/?p=9727\" \/>\n\t\t<meta property=\"article:published_time\" content=\"1999-11-29T20:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"1999-11-29T20:00:00+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@joe_elway\" \/>\n\t\t<meta name=\"twitter:title\" content=\"DotNetNuke Site Redirects To Localhost | Aidan Finn, IT Pro\" \/>\n\t\t<meta name=\"twitter:description\" content=\"We\u2019re changing the IP address range on the firewalls so we\u2019re adding in the new NAT rules in addition to the old ones for a smooth transition. We started with a web server. The site uses DotNetNuke. We tested the new IP and the server wouldn\u2019t load the page on clients. Luckily we\u2019d kept the\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@joe_elway\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=9727#article\",\"name\":\"DotNetNuke Site Redirects To Localhost | Aidan Finn, IT Pro\",\"headline\":\"DotNetNuke Site Redirects To Localhost\",\"author\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=9727#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/65fde4aa9f2ab1cf1514ae320a37ec682d9398ce5791d3c2dd1e8670a71ceea0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"AFinn\"},\"datePublished\":\"2009-06-30T20:28:00+01:00\",\"dateModified\":\"2009-06-30T20:28:00+01:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=9727#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=9727#webpage\"},\"articleSection\":\"IIS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=9727#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/aidanfinn.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?cat=21#listItem\",\"name\":\"IIS\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?cat=21#listItem\",\"position\":2,\"name\":\"IIS\",\"item\":\"https:\\\/\\\/aidanfinn.com\\\/?cat=21\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=9727#listItem\",\"name\":\"DotNetNuke Site Redirects To Localhost\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=9727#listItem\",\"position\":3,\"name\":\"DotNetNuke Site Redirects To Localhost\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?cat=21#listItem\",\"name\":\"IIS\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/#person\",\"name\":\"AFinn\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=9727#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/65fde4aa9f2ab1cf1514ae320a37ec682d9398ce5791d3c2dd1e8670a71ceea0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"AFinn\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?author=1#author\",\"url\":\"https:\\\/\\\/aidanfinn.com\\\/?author=1\",\"name\":\"AFinn\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=9727#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/65fde4aa9f2ab1cf1514ae320a37ec682d9398ce5791d3c2dd1e8670a71ceea0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"AFinn\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=9727#webpage\",\"url\":\"https:\\\/\\\/aidanfinn.com\\\/?p=9727\",\"name\":\"DotNetNuke Site Redirects To Localhost | Aidan Finn, IT Pro\",\"description\":\"We\\u2019re changing the IP address range on the firewalls so we\\u2019re adding in the new NAT rules in addition to the old ones for a smooth transition. We started with a web server. The site uses DotNetNuke. We tested the new IP and the server wouldn\\u2019t load the page on clients. Luckily we\\u2019d kept the\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?p=9727#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/?author=1#author\"},\"datePublished\":\"2009-06-30T20:28:00+01:00\",\"dateModified\":\"2009-06-30T20:28:00+01:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/#website\",\"url\":\"https:\\\/\\\/aidanfinn.com\\\/\",\"name\":\"Aidan Finn, IT Pro\",\"description\":\"A blog covering Azure, Hyper-V, Windows Server, desktop, systems management, deployment, and so on ...\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/aidanfinn.com\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"DotNetNuke Site Redirects To Localhost | Aidan Finn, IT Pro","description":"We\u2019re changing the IP address range on the firewalls so we\u2019re adding in the new NAT rules in addition to the old ones for a smooth transition. We started with a web server. The site uses DotNetNuke. We tested the new IP and the server wouldn\u2019t load the page on clients. Luckily we\u2019d kept the","canonical_url":"https:\/\/aidanfinn.com\/?p=9727","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"TDKjbi2McB2eLIfL6KwPB3aQqv5E-mbcb2QYIcovGaI","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/aidanfinn.com\/?p=9727#article","name":"DotNetNuke Site Redirects To Localhost | Aidan Finn, IT Pro","headline":"DotNetNuke Site Redirects To Localhost","author":{"@id":"https:\/\/aidanfinn.com\/?author=1#author"},"publisher":{"@id":"https:\/\/aidanfinn.com\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/aidanfinn.com\/?p=9727#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/65fde4aa9f2ab1cf1514ae320a37ec682d9398ce5791d3c2dd1e8670a71ceea0?s=96&d=mm&r=g","width":96,"height":96,"caption":"AFinn"},"datePublished":"2009-06-30T20:28:00+01:00","dateModified":"2009-06-30T20:28:00+01:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/aidanfinn.com\/?p=9727#webpage"},"isPartOf":{"@id":"https:\/\/aidanfinn.com\/?p=9727#webpage"},"articleSection":"IIS"},{"@type":"BreadcrumbList","@id":"https:\/\/aidanfinn.com\/?p=9727#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/aidanfinn.com#listItem","position":1,"name":"Home","item":"https:\/\/aidanfinn.com","nextItem":{"@type":"ListItem","@id":"https:\/\/aidanfinn.com\/?cat=21#listItem","name":"IIS"}},{"@type":"ListItem","@id":"https:\/\/aidanfinn.com\/?cat=21#listItem","position":2,"name":"IIS","item":"https:\/\/aidanfinn.com\/?cat=21","nextItem":{"@type":"ListItem","@id":"https:\/\/aidanfinn.com\/?p=9727#listItem","name":"DotNetNuke Site Redirects To Localhost"},"previousItem":{"@type":"ListItem","@id":"https:\/\/aidanfinn.com#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/aidanfinn.com\/?p=9727#listItem","position":3,"name":"DotNetNuke Site Redirects To Localhost","previousItem":{"@type":"ListItem","@id":"https:\/\/aidanfinn.com\/?cat=21#listItem","name":"IIS"}}]},{"@type":"Person","@id":"https:\/\/aidanfinn.com\/#person","name":"AFinn","image":{"@type":"ImageObject","@id":"https:\/\/aidanfinn.com\/?p=9727#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/65fde4aa9f2ab1cf1514ae320a37ec682d9398ce5791d3c2dd1e8670a71ceea0?s=96&d=mm&r=g","width":96,"height":96,"caption":"AFinn"}},{"@type":"Person","@id":"https:\/\/aidanfinn.com\/?author=1#author","url":"https:\/\/aidanfinn.com\/?author=1","name":"AFinn","image":{"@type":"ImageObject","@id":"https:\/\/aidanfinn.com\/?p=9727#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/65fde4aa9f2ab1cf1514ae320a37ec682d9398ce5791d3c2dd1e8670a71ceea0?s=96&d=mm&r=g","width":96,"height":96,"caption":"AFinn"}},{"@type":"WebPage","@id":"https:\/\/aidanfinn.com\/?p=9727#webpage","url":"https:\/\/aidanfinn.com\/?p=9727","name":"DotNetNuke Site Redirects To Localhost | Aidan Finn, IT Pro","description":"We\u2019re changing the IP address range on the firewalls so we\u2019re adding in the new NAT rules in addition to the old ones for a smooth transition. We started with a web server. The site uses DotNetNuke. We tested the new IP and the server wouldn\u2019t load the page on clients. Luckily we\u2019d kept the","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/aidanfinn.com\/#website"},"breadcrumb":{"@id":"https:\/\/aidanfinn.com\/?p=9727#breadcrumblist"},"author":{"@id":"https:\/\/aidanfinn.com\/?author=1#author"},"creator":{"@id":"https:\/\/aidanfinn.com\/?author=1#author"},"datePublished":"2009-06-30T20:28:00+01:00","dateModified":"2009-06-30T20:28:00+01:00"},{"@type":"WebSite","@id":"https:\/\/aidanfinn.com\/#website","url":"https:\/\/aidanfinn.com\/","name":"Aidan Finn, IT Pro","description":"A blog covering Azure, Hyper-V, Windows Server, desktop, systems management, deployment, and so on ...","inLanguage":"en-GB","publisher":{"@id":"https:\/\/aidanfinn.com\/#person"}}]},"og:locale":"en_GB","og:site_name":"Aidan Finn, IT Pro - A blog covering Azure, Hyper-V, Windows Server, desktop, systems management, deployment, and so on ...","og:type":"article","og:title":"DotNetNuke Site Redirects To Localhost | Aidan Finn, IT Pro","og:description":"We\u2019re changing the IP address range on the firewalls so we\u2019re adding in the new NAT rules in addition to the old ones for a smooth transition. We started with a web server. The site uses DotNetNuke. We tested the new IP and the server wouldn\u2019t load the page on clients. Luckily we\u2019d kept the","og:url":"https:\/\/aidanfinn.com\/?p=9727","article:published_time":"1999-11-29T20:00:00+00:00","article:modified_time":"1999-11-29T20:00:00+00:00","twitter:card":"summary","twitter:site":"@joe_elway","twitter:title":"DotNetNuke Site Redirects To Localhost | Aidan Finn, IT Pro","twitter:description":"We\u2019re changing the IP address range on the firewalls so we\u2019re adding in the new NAT rules in addition to the old ones for a smooth transition. We started with a web server. The site uses DotNetNuke. We tested the new IP and the server wouldn\u2019t load the page on clients. Luckily we\u2019d kept the","twitter:creator":"@joe_elway"},"aioseo_meta_data":{"post_id":"9727","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 03:53:15","updated":"2025-06-04 13:04:51","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/aidanfinn.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/aidanfinn.com\/?cat=21\" title=\"IIS\">IIS<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDotNetNuke Site Redirects To Localhost\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/aidanfinn.com"},{"label":"IIS","link":"https:\/\/aidanfinn.com\/?cat=21"},{"label":"DotNetNuke Site Redirects To Localhost","link":"https:\/\/aidanfinn.com\/?p=9727"}],"amp_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/9727","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9727"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/9727\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9727"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9727"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9727"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}