Solved

1 Server....2 websites.... please help!

Posted on 2011-09-27
3
189 Views
Last Modified: 2012-05-12
We are getting ready to start up a website on our internal server instead of hosted externally.  The catch is that we are running an intranet site on our IIS server already.
I thought I knew how to set this up, but what I did didn't work right, so I need help on how to actually do it.

I want to keep access to our intranet site the same.  Internally, we just go to http://{servername}/ (which is on port 80).  To get to our new site that is still in testing, we had to set it up as an alternate port.  I then setup a 1 to 1 NAT for a new IP address that redirects to this server so I can access the testing site externally, but I cannot seem to designate this external IP and port 80 to the new website in testing as it always keeps defaulting to our internal site since it is port 80....I have to access the testing website through the alternate port even when on the external ip address and I set the bindings for the website in testing to the new external IP and the bindings for the intranet site are only set for our internal server ip.  Did I do something wrong?

How do I make two websites (1 internal, 1 external) both work on port 80 (and other ports like 443, etc.).  ??
0
Comment
Question by:ausman89
3 Comments
 
LVL 6

Accepted Solution

by:
expone earned 167 total points
Comment Utility
You can assign to your server's LAN card an additional IP address and then run your internal website on port 80 and on that IP address (which you can also give another name in your DNS if you wish).

Accordingly, you can run your external website on port 80 on the current server's IP address (with 1 to 1 NAT on the firewall). Obviously, you can reverse this and assign a new IP for your external website (and then run your internam website on the "old" server's IP address). So, both websites will run on port 80, but different IP.
0
 
LVL 2

Assisted Solution

by:bkieler
bkieler earned 166 total points
Comment Utility
You might want to check into using host headers as a solution.
0
 
LVL 38

Assisted Solution

by:Aaron Tomosky
Aaron Tomosky earned 167 total points
Comment Utility
Right click a site and edit the binding. You can assign a domainname instead of just *.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now