SIGN UP MEMBER LOGIN:    
ARTICLE

Hosting Mobile WebSite Under IIS

Posted by Krishna Garad Articles | ASP.NET Programming April 25, 2011
In this article we will see how to host a mobile website under Internet Information Services (IIS).
Reader Level:


Introduction:

In this article we will see how to host a mobile website under Internet Information Services (IIS).

Background:

First we have to create a mobile web application. For how to create a mobile web site see my previous article Developing Mobile Pages.

Once we have created our mobile pages the testing of the mobile pages is not as easy as you think; for testing of mobile pages you can use desktop browsers as well as Mobile Emulators. With desktop browsers you can test by direst debugging application but in mobile emulators first we have to host our website under IIS. In my next article I'll explain how to test mobile pages in mobile emulators. This article is the prerequesite for the next article. For testing mobile pages in an emulator we have to host the website first under IIS.

Hosting Website:

Check out the following screenshot which will help you to host the website under IIS.

  1. Open IIS Manager

    HosWebSite1.gif
     
  2. Right click on Default Web Site->New->Virtual Directory which will open the following screen.

    HosWebSite2.gif
     
  3. Provide a virtual name by which you want to access your website while typing URL. And click on next.
  4. The next screen will ask you to provide the physical content of your application.

    HosWebSite3.gif
     
  5. On the next screen it will ask you the permission setting for you website. Select all permission and click on next and then finish.

    HosWebSite4.gif
     
  6. After finishing website creation your web site is created.

    HosWebSite5.gif
     
  7. Now test whether your website is working or not. To do that open your browser and type the url like below or you can type your IP address also instead of localhost.

    HosWebSite6.gif

Conclusion:

In this manner we can host our website under IIS. In the next article we will see how to display mobile pages in emulators.
 

Login to add your contents and source code to this article
share this article :
post comment
 

Thnak's Karthi.

Posted by Krishna Garad Apr 26, 2011

Good article!!!

Posted by Karthikeyan Anbarasan Apr 25, 2011
Nevron Gauge for SharePoint
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
    Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites - Click Here!
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor