Create a new website (copy of "old" website)
I'll spare you the details, but I should at least say that on our test server box we have our test web application and database.
We want our production web site and data to be on this same box. So, I created a folder D:\Production\Website and copied all the code there. Then I went into IIS to make a new website. I don't know what its IP address should be. There are two choices in the drop down, plus All Unassigned. But no matter what I pick, it says it's in use.
Then any help I look for acts like you already know what these values should be:
4.
In the Enter the IP address to use for this Web site box, click the IP address used for all sites on this server.
5.
In the TCP port this Web site should use box, type the unique port number reserved for this site.
Am I out of IP's because of websites that are already on this box?
The machine is Windows Server 2003, the code is ASP.NET 2, and I think IIS is 6.0.
Thanks.
Re: Create a new website (copy of "old" website)
I stole someone else's port. That is, I stopped a website that I know nobody is currently using, configured mine to use that website's port, and started it successfully. So I guess I'm done.
Re: Create a new website (copy of "old" website)
Instead of stealing, you could have made your own. All you do is specify any port number you want (so default is 80, which is why you had that error message, someone else may be using 81, you could jump to 8080, 91, anything). All IIS does then is listens on that port for incoming HTTP requests.
You could leave the IP address as All Unassigned.
Re: Create a new website (copy of "old" website)
How many ports are there? It's something real, or virtual?
Re: Create a new website (copy of "old" website)
There are 65535 ports for you to choose from, they're not physical entities but OS entities which the OS manages and allows and application to listen on. Some of them are already in use by other applications. For example, 1433 is SQL Server, 21 is FTP, 80 is HTTP, 443 is SSL and so on. However, when you choose a port number, IIS will tell you if it's already in use. The thing with IIS is that you can assign something other than 80 for HTTP and 443 for HTTPS because those are just defaults. 1433 is a default for SQL Server but you could onfigure it to listen on something else.
Re: Create a new website (copy of "old" website)
That was very educational! Thank you. And happy new year!
(I was even allowed to add to your good reputation again).
Re: Create a new website (copy of "old" website)
Remember to mark resolved :)