troubleshooting Question

Access Two Sub-domains on Different Servers using only one IP Address

Avatar of exclaimer
exclaimer asked on
Apache Web ServerMicrosoft IIS Web ServerDNS
6 Comments1 Solution446 ViewsLast Modified:
Hello,

I have a dilemma which I hope the community can help me resolve. I have created two sub-domains and each will be hosted on different servers. Internally I have no problem connecting to either one.

The problem is when I try to connect from outside our network. We have a single IP address with multiple web servers in-house. I have tried using host headers with redirect to no avail. I tried setting up virtual hosts with redirect, also no go. If at all possible, I would like to avoid having to use specific ports for each site.

Internal DNS obviously works. Externally, I pointed both sub-domains to our IP address.

Main site (www.mydomain.com) = IIS6
Sub1 (sub1.domain.com) = LAMP server hosting WordPress blog
Sub2 (sub2.domain.com) = custom app server

What am I doing wrong? I know I'm missing some piece of the puzzle.

Thank you.
ASKER CERTIFIED SOLUTION
brwwiggins
IT Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros