« Previous Next »

Thread: IIS Administration with .NET

Last post 03-20-2008 9:17 AM by zillabyte. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 03-18-2008, 10:09 PM

    IIS Administration with .NET

    I have a couple of question maybe someone here could answer. First, I'd like to build an ASP.NET application that could manage many of the features in IIS. Specifically, I'd like to create websites, set application settings, even manage DNS, and SMTP. Where could I find some resources to look at how this could be done?

     Next, this may be a dumb question, but I'm trying to build a dynamic website. Is there a way to have two domain names point to the exact same website (using http headers) but then, depending on the request, show completely different content? I'm sure this could probably be done, but I don't know where I should look into this. I don't want to use any redirect solution, either. I mainly have a few websites that are very similar that are already dynamic and I'd like to find a way to use just one physical site if it is possible. Also, could this have any performance issues or other side effects?

    z

  • 03-18-2008, 11:31 PM In reply to

    Re: IIS Administration with .NET

    I will try to answer 2nd question here.

    Yes you can have 1 website with 2 domain names pointing to same website and serve different content based on the host-header. So configuration you should be able to figure out. To serve content differently, you will need to write code like based on the header requested redirect to different pages...like you could have a default page which basically would read the header and based on that do the re-direction to respective content. I do not see any performance issues if just redirect based on header.

    For 1st questions there are many ways to do it. I will check if I can find any links and let you know.

    HTH.

    ~ Ganesh

  • 03-20-2008, 9:17 AM In reply to

    Re: IIS Administration with .NET

    Thank you for your response. Glad to hear this is possible.

    z

Page 1 of 1 (3 items)
Microsoft Communities