Make website accessible to those who don't have internet access

Oct 16, 2010 at 3:33 PM

Greetings everybody

I am new to the community. My purspose is to make the website e.g. http://www.site.com accessible to users in my private network who do not have access to the internet.

In am running win 2003 server & IIS6. Also a DNS where "site" is a domain.

So, every time a user types http://www.site the browser gets him to http://www.site.com

Every link in that page is broken for the user because he doesn't have internet access. Is there any way to fix the URLs?

Is it possible to rewrite *.site.com/* with *.site/*?

Thansk in advance

Coordinator
Oct 17, 2010 at 6:21 PM

To be honest, I think what you are looking for is a tunneling software, not a reverse proxy.  But to answer your question directly, yes you can do something like this:

 

RewriteRule ^/(.*)            http://www.site.com/$1        [P]

 

To proxy all the urls through your webserver for site.com.