Results 1 to 7 of 7

Thread: Create a new website (copy of "old" website)

  1. #1

    Thread Starter
    PowerPoster MMock's Avatar
    Join Date
    Apr 2007
    Location
    My Mustang GT
    Posts
    4,566

    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.
    There are 10 kinds of people in this world. Those who understand binary, and those who don't.

  2. #2

    Thread Starter
    PowerPoster MMock's Avatar
    Join Date
    Apr 2007
    Location
    My Mustang GT
    Posts
    4,566

    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.
    There are 10 kinds of people in this world. Those who understand binary, and those who don't.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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.

  4. #4

    Thread Starter
    PowerPoster MMock's Avatar
    Join Date
    Apr 2007
    Location
    My Mustang GT
    Posts
    4,566

    Re: Create a new website (copy of "old" website)

    How many ports are there? It's something real, or virtual?
    There are 10 kinds of people in this world. Those who understand binary, and those who don't.

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    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.

  6. #6

    Thread Starter
    PowerPoster MMock's Avatar
    Join Date
    Apr 2007
    Location
    My Mustang GT
    Posts
    4,566

    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).
    Last edited by MMock; Dec 31st, 2009 at 08:58 AM. Reason: Note re: reputation
    There are 10 kinds of people in this world. Those who understand binary, and those who don't.

  7. #7
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Create a new website (copy of "old" website)

    Remember to mark resolved

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width