« Previous Next »

Thread: Quick question about shortening the default URL for our IIS...

Last post 07-31-2009 1:33 AM by Gabriel_EUK. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 07-27-2009, 3:27 PM

    • dhcrusoe
    • Not Ranked
    • Joined on 01-09-2009, 4:14 PM
    • Posts 3

    Quick question about shortening the default URL for our IIS...

    We're hosting a website on IIS, and its in the /Dotnetnuke subdirectory. However, lots of people have complained that "Dotnetnuke" makes them think of a virus, and become scared of the domain. How can we set IIS to use the c:\dotnetnuke directory as its default site/domain, so that it no longer appears? Here's the site: http://ctnation.citizenschools.net/DotNetNuke/ How it works: index.html in ctnation.citizenschools.net/ redirects to /DotNetNuke Thanks! --Dave
  • 07-27-2009, 3:37 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Central NJ
    • Posts 6,235
    • IIS MVPs

    Re: Quick question about shortening the default URL for our IIS...

    Someone in the DNN forums should be able to pretty quickly tell you how to set DNN to run from the root of the site, if it's not yet part of a faq ...

  • 07-27-2009, 3:56 PM In reply to

    Re: Quick question about shortening the default URL for our IIS...

    Install DNN in the root of a web site, not a subdirectory or virtual directory.  There is no other way to achieve what you're asking.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 07-27-2009, 4:37 PM In reply to

    • dhcrusoe
    • Not Ranked
    • Joined on 01-09-2009, 4:14 PM
    • Posts 3

    Re: Quick question about shortening the default URL for our IIS...

    If I were to change the web root to point to the current DNN subdirectory, would that do the trick? --Dave
  • 07-30-2009, 11:09 PM In reply to

    Re: Quick question about shortening the default URL for our IIS...

    1.add a new site of ctnation.citizenschools.net 2.assign your site a IP(example 10.10.1.10) 3. named hot header become ctnation.citizenschools.net 4.give a path (example c:\dotnetnude) 5.add a A record of your folder, IP and subdomain of ctnation. just like that .
  • 07-31-2009, 1:33 AM In reply to

    Re: Quick question about shortening the default URL for our IIS...

    Hello,

     

    It seems that you have already installed DNN in /Dotnetnuke of your web site.

    Now you have following options -

    1] make the /Dotnetnuke  as the web root of your web site (change Physical Path of web site in IIS) so that it will pick the pages directly from /Dotnetnuke  and the site will show its content only by accessing domain name, no need to use domainname.com/Dotnetnuke

     

    2] suppose your domain name is abc.com  hence your DNN is at  http://abc.com/Dotnetnuke

    Following is the way to  access the content of  http://abc.com/Dotnetnuke  at  http://abc.com/     no need to add /Dotnetnuke  at the end of URL -

    Create a index page say index.html in web root of abc.com , set index.html as the Default Document and add following code in it -

     

    <frameset rows="100%">
    <frame src="http://www.abc.com/Dotnetnuke">
    </frameset>
    <noframes>
    <body>Please follow <a href="http://www.abce.com/">link</a>!</body>
    </noframes>

     what it will does is -

    whenever you browse www.abc.com it will show only www.abc.com in address bar but will fetch/show the content of abc.com/Dotnetnuke

     

    3] DNN have a feature called as DNN portal/alias, login your DNN as admin and you can add as many as alias into it as per your requirement.

     

    Hope this helps you.

    Good Luck :)

Page 1 of 1 (6 items)
Microsoft Communities