{"id":737,"date":"2007-07-15T14:46:00","date_gmt":"2007-07-15T19:46:00","guid":{"rendered":"http:\/\/softbeam.net\/hobby\/?p=737"},"modified":"2007-07-15T14:46:00","modified_gmt":"2007-07-15T19:46:00","slug":"website-behind-a-router","status":"publish","type":"post","link":"https:\/\/softbeam.net\/hobby\/?p=737","title":{"rendered":"website behind a router"},"content":{"rendered":"<p>My original http server with a dedicated ip address won&#8217;t work behind a router since I moved to LA and installed cable modem.<\/p>\n<p>Here is the way: no matter which way, wired or wireless, you use to surf the internet, the ip address behind a router became the intranet address like 192.168.*.*. The router has 2 address: one for wan, internet address which your isp supplies; the other for lan, the first intranet address usually 192.168.0.1.<\/p>\n<p>First modify the httpd.conf file to make the address become your machine&#8217;s lan address like 192.168.0.* if you don&#8217;t have domain name. Otherwise go to you domain name setup, make it point to your router&#8217;s wan address. For linux, I changed the hosts file, make the domain name alias pointing both to 127.0.0.1 and lan address.<\/p>\n<p>Then http:\/\/192.168.0.1 (router&#8217;s lan address) , make some forwarding there, which depends on different routers.<\/p>\n<p>More details, google: website behind a router<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My original http server with a dedicated ip address won&#8217;t work behind a router since I moved to LA and installed cable modem. Here is the way: no matter which way, wired or wireless, you use to surf the internet, the ip address behind a router became the intranet address like 192.168.*.*. The router has &hellip; <a href=\"https:\/\/softbeam.net\/hobby\/?p=737\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;website behind a router&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-737","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts\/737","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=737"}],"version-history":[{"count":0,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=\/wp\/v2\/posts\/737\/revisions"}],"wp:attachment":[{"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=737"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=737"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softbeam.net\/hobby\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}