Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7835055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T13:27:41+00:00 2026-06-02T13:27:41+00:00

Welcome to my first question on stack overflow. I’ve looked around, and I haven’t

  • 0

Welcome to my first question on stack overflow.

I’ve looked around, and I haven’t found this question asked yet. However, that may be because I don’t know how to ask the question that I need answered.

THE INFORMATION:

I’m a programmer who left the public sector that had a, surprisingly, well-managed IT department that had all this crap working for me. I now work for a private company that needs a bit of network systems help.

We have:

  • A SQL Server
  • An Application Server
  • A File Server
  • A Web Server
    • multiple web services
    • team foundation server
    • share point services
  • 5 desktops

all on our internal network.

We also have:
– No domain controller
– No Internal DNS / NAT / DHCP Server.

We’re currently using a router for DHCP and Port Forwarding. We are getting a static IP assigned today.

THE QUESTION:

What do I need to setup in order to point our external domains / subdomains to our new static IP and have those requests routed (by the hostname used) to hit a specific server?

Current Configuration (Port Forwarding)

ourdomain.com:1234 -> router/port-forwarding -> SQL Server:1433
ourdomain.com:1235 -> router/port-forwarding ->  Web Service 1:8081
ourdomain.com:1236 -> router/port-forwarding ->  Web Service 2:8082
ourdomain.com:1237 -> router/port-forwarding ->  Application Server:5410

What I think I want:

sql.ourdomain.com:80  -> ??? -> SQL Server:1433
svc1.ourdomain.com:80 -> ??? -> Web Service 1:80 (host: svc1.ourdomain.com)
svc2.ourdomain.com:80 -> ??? -> Web Service 2:80 (host: svc2.ourdomain.com)
app.ourdomain.com:80  -> ??? -> Application Server:5410

The (host: xxx) is where I would specify the host in the IIS website configuration.

There will be some instances where port-forwarding is necessary, but it’s not ideal for every instance. I want to remember meaningful names, not arbitrary port numbers.

If what I’m asking here is completely ridiculous, well, thanks for reading. I’m just looking for some direction.

Thanks!

<edit>

12:01 am PDT 4/19/2012

Sorry, let me clarify a few things.

  1. We only have a single static public IP address.
  2. Assume that we can acquire / setup the necessary hardware / software to achieve this.

If what it comes down to is that we need to buy some enterprise level routing hardware, that’s just what it takes. I know this has to be possible because at my last job, we had 40 or 50 domains all pointed to the same IP that routed to different servers once inside the internal network. :/ Or at least that’s what happened to the best of my knowledge.

I actually called them up today and asked them, but the main dude who set it all up quit.

I’m really pushing for us to just get our crap out into the cloud, since no one wants to hire a network engineer or systems analyst, much less build a data center.

</edit>

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T13:27:44+00:00Added an answer on June 2, 2026 at 1:27 pm

    An easy way that this could work if each subdomain resolves into different public ip addresses (e.g. if your DNS was configured such that sql.ourdomain.com resolves to 1.1.1.1 and svc1.ourdomain.com resolves to 1.1.1.2).

    sql.ourdomain.com  IN A 1.1.1.1
    svc1.ourdomain.com IN A 1.1.1.2
    

    Your router can only make decisions based on limited information contained inside of the ip packets. Commonly, routers can look at the ip or port information. In the case where your router is configured with port forwarding, the router looks at the port number and makes address translation decisions using that the port.

    rule: incoming port 1000, forward to 192.168.1.100:1433
    rule: incoming port 1001, forward to 192.168.1.101:80
    

    However, if the port is the same, the router needs other information to decide how to perform the translation. Most low-end routers (e.g. Cisco ASA series, Juniper SRX series) can use the ip to make this address translation decision. The downside is that that you’ll need to purchase multiple ip addresses from your ISP.

    rule: incoming ip 1.1.1.1, forward to 192.168.1.100:1443
    rule: incoming ip 1.1.1.2, forward to 192.168.1.101:80
    

    IIS, which operates on a much higher layer on the network stack, can make this differentiation by looking at the HTTP headers. This works for multiplexing a single ip and single port to multiple websites. In this case, since SQL and your web server speak different protocols, you won’t be able to leverage this.

    Another technology that you may want to consider is IPsec tunneling (VPN) if your device supports IPsec passthrough. The downside is that your coworkers (who I assume are using this) needs to perform additional configuration.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is my first question on stackoverflow, welcome everybody. I have a table: id
I know that this is not the first time a question about this issue
This is a two part question. The first is a specific question about DataSets
First this question isn't about trying to solve a specific problem. As newcomer to
Naive question, but this is my first step in JSF, so forgive me ;-)
I have a problem similar to the first problem in this question , which
The following question is more complex than it may first seem. Assume that I've
this is my first time to post a question here, I will try to
Here's an interesting question that I'm shocked hasn't been asked more often on the
This follows on from a previous question here where I asked how to develop

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.