Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm pretty new to this so my terminology may be a bit slack.

I would like to set up a webspace that includes a number of things, a general site and forum and so on. I wish to use DotNetNuke which after going through a few things appeals to me greatly. My current hosting service is slow and the cost of something better seems a bit much. My current ISP service does not include a Static IP.

What I would like to do for now to avoid expenditures is to continue using my hosting plan and their DNS to resolve to the webspace provided by them. I would then like to rebind to my home computer on a specified port through my ISP provided Dynamic IP. I do not want to Cloak/Mask/Forward/Rewrite as this all seems like so much effort to change xxx.xxx.xxx.xxx:2222/index.html to mydomain.com/index.html. I want to maintain proper indexing and so on.

I'm not asking for the general procedure. What I am asking is, is this even possible? I really hate wasting hundreds of hours needlessly on trivial matters and like to avoid events like this as often as possible. My web hosts allotted IIS AppPool crashed and I have to wait for a restart; research suggests there may have been an over consumption of resources. I've had my site running from home and it is smooth and fast.

share|improve this question

closed as off topic by MDMarra, Iain Nov 18 '12 at 12:44

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
your site may be smooth and fast for you, but what about for everyone else? in short its more expensive for a reason... quality –  anthonysomerset Oct 12 '11 at 23:15
    
I meant from external terminals, although quality is desirable I am currently limited financially. I think I have resolved my issue though. I will use dyndns and point at and update my external ip. The contents at the site will be my nameserver. Good enough for now . . . . . –  Xittenn Oct 12 '11 at 23:40
    
Can you clarify what you mean about rebinding to a specific port? So your server is listening on :2222 but you want users to just go to yourdomain.com and that transparently connect to xxx.xxx.xxx.xxx:222 ? –  Paul Oct 12 '11 at 23:43
    
@Paul my ISP blocks Port 80 so I need to use another port. And yes I would like to transparently connect with proper indexing and without the use of frames. –  Xittenn Oct 12 '11 at 23:46
    
dyndns does not allow port specification in their pro service :/ –  Xittenn Oct 12 '11 at 23:47
show 1 more comment

1 Answer 1

up vote 1 down vote accepted

If you can get your home server listening on port 80 this is straightforward.

  1. Use dyndns to set up a domain name for your site (yoursite.dyndns.org)
  2. Go to your host control panel for DNS and set up a cname:

    yoursite.com. CNAME yoursite.dyndns.org www.yoursite.com. CNAME yoursite.dyndns.org

What this is say is that anyone who tries to get the IP for yoursite.com should instead get the IP address for yoursite.dyndns.org - which will be your IP address.

If you cannot listen on port 80, then a reverse proxy is the only way you can do this. Rewriting is not an option because you cannnot rewrite to another server transparently. Apache can do reverse proxies, but it is very unlikely that your host will enable this feature. So your only option is to code a php based reverse proxy. Of course, then you are relying on the speed of your host to do the proxying (not to mention setting up a proxy is often against ts&cs.

share|improve this answer
    
Thanks! I will definitely look into a reverse proxy. Maybe something in ASP.NET :D –  Xittenn Oct 13 '11 at 0:18
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.