hosting behind ISPs NAT

Hi,

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?

Max.
davidmaxwatermanAsked:
Who is Participating?
 
scampgbCommented:
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.
0
 
humeniukCommented:
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.
0
 
HoweverCommaCommented:
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.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
HoweverCommaCommented:
Furthermore DNS or even URL redirection can eliminate the need to supply the port #.
0
 
HoweverCommaCommented:
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.
0
 
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.
0
 
scampgbCommented:
Glad I could help :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.