Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Steve Kallal 9 posts 29 karma points
    Dec 12, 2011 @ 17:58
    Steve Kallal
    0

    Multiple sites w/ IIS Express

    This is my first post to the forums. I've been creating prototype sites as a proof of concept to my job. I've created a mobile site using the altTemplate feature, but I'd rather redirect mobile users to a m.domainname.com url rather than www.domainname.com/altTemplate=mobile.

    I'm also developing on a Windows XP Pro desktop and don't have Windows 7 access at work. I've been using WebMatrix on my XP box as the local IIS server. For local development purposed, my main site will be http://localhost:xxxxx/ and my mobile site will be http://localhost:yyyyy/.

    Also I prefer to use the same content between the main and mobile sites. This mean the same content tree, but different set of templates.

    The production site will be IIS 6 on Windows Server 2003 where www.domainname.com and m.domainname.com type site urls are possible.

    Can I setup Umbraco (4.7.x in my case) with multiple sites on a development desktop w/ IIS Express?

  • Daniel Bardi 927 posts 2562 karma points
    Dec 12, 2011 @ 19:18
    Daniel Bardi
    0

    Yes.. assign each Umbraco root node a different sub domain.  Umbraco will handle the rest.

  • Steve Kallal 9 posts 29 karma points
    Dec 12, 2011 @ 19:44
    Steve Kallal
    0

    Actually I found the answser to the IIS Express part of my question at http://our.umbraco.org/wiki/recommendations/recommended-reading-for-web-developers/webmatrix-running-multiple-sites-in-one-umbraco-instance. The only part of that article that seems wrong is port 80. I have to use a different port number. So far I have the main non-mobile site working on a new local domain.

Please Sign in or register to post replies

Write your reply to:

Draft