[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 395
  • Last Modified:

hosting behind ISPs NAT


I work in Beijing, China, and would like to set up a server to host a web site.

Our ISP has given us a static private IP address (10.something).
As far as I can tell, the ISP doesn't filter anything, it just does NAT because there are so few IP addresses available (they cost a lot of money here - over $100 per month).

We have assigned the address they have given us to our FC2 firewall. I would like to host a web server on that same server.

How can I do that?

3 Solutions
Hi davidmaxwaterman,
If your ISP has only given you a private IP address, then you won't be able to do this at all.
You will need to have at least one public IP address to host a webserver.
Sorry Max, scampgb is right.

If you want a good overview of the different elements involved in hosting your own websites, take a look at www.dslwebserver.com/main/fr_index.html?/main/quick-start.html.
Well it is not impossible to do with a private IP address there will be limited functionality and it is not user friendly but it can be done if your ISP will give you a private port.

You can request you ISP give you say port 18245 (or any available port thay have that they will allocate there are 64K ports. They then redirect this to your private IP.
You will have to have a static IP here, unless they are using radius which I think will do dynamic port allocation and redirection based on user profile.

Then if you wanted to get to your web site you would simply type www.mysite.com:18245 this will send the HTTP request to port 18245 instead of port 80 and that would be routed to your private IP address.

This will work it is used by EVERY major web hosting service provider, for the less expensive web hosting accounts.
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Furthermore DNS or even URL redirection can eliminate the need to supply the port #.
I do not understand your reasoning on what you accepted and how you split it when a possible solution was provided, yet the other answers incorretly state it is impossible.
davidmaxwatermanAuthor Commented:
"...if your ISP will give you a private port."

They won't give me a public IP address or port :(

..but I recognised that what you said was useful, although not in my situation.

The other 50 I gave for the reference.
Glad I could help :-)

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now