Forum Moderators: phranque

Message Too Old, No Replies

Website for local network only

Website for local network only

         

wangdrugay

5:13 am on Mar 2, 2005 (gmt 0)

10+ Year Member



Hello all
I am not too sure whether this is the right place but never the less i am asking it here.

I have a website which is available to the world. However, I have another plan for this website... i want this website (with local content as compared to the one visible by all) to be available only for the local networking (ie for the staffs only). So i was wondering if it was possible and if so... could anyone please suggest how to do it (tips, suggestions and anything else welcome)

Thanking you in advance

bill

5:43 am on Mar 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Welcome to WebmasterWorld wangdrugay.

I'd suggest password protecting the site and having people log in. However, you could also put the site on a local network server and then it would only be visible to people on the network...like an Intranet.

RobinC

6:50 am on Mar 2, 2005 (gmt 0)

10+ Year Member



Another two ways to do it - first if you're using Apache, then mod_rewrite it so only LAN ip addresses get access.

The second is to use a virtualhost for it - LAN access can use that hostname to get access, but anyone over the internet would need to have an entry in their hosts file (for windoze etc) in order to get the right page - useful if you're wanting to be able to get access from other locations without having to manually add them. Not as secure as a password (nothing stopping an in-addition) - but stops the casual surfer from being able to get at it...

Robin

wangdrugay

5:22 am on Mar 3, 2005 (gmt 0)

10+ Year Member



Thanks a lot. Now that i know what i got to do... I think i will now begin looking into it. (any help will be appreciated :) )

I think i will go for a password protection rather than restricting the website to a certain range of IP addresses or putting it on a local Network server... that way, when the local staff do out of the country or elsewhere, they will still be able to check the website.

Thanks a ton guys... your suggestions were a big help.