+1-888-365-2779
Try Now
More in this section

Forums / Deployment / Publish Sitefinity Project

Publish Sitefinity Project

8 posts, 0 answered
  1. Rajkumar GS
    Rajkumar GS avatar
    24 posts
    Registered:
    07 Sep 2009
    17 Jan 2011
    Link to this post
    Hi,

    I have created a simple site using Sitefinity.

    I would like to know how to publish the site that I created. I am in a dealine for the rnd work with Sitefinity.
    I wonder how the login.aspx page loads first, since there is no such physical file!

    Please assist me regarding the same

    Thanks in advance
    Raj

    Note:- This is my another open question
    http://www.sitefinity.com/devnet/forums/sitefinity-3-x/set-up-installation/sitefinity-powerpoint-presentation.aspx
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    30 Sep 2016
    17 Jan 2011
    Link to this post
    Hello Rajkumar,

    If you are talking about the backend login, there is a physical login.aspx hosted under Sitefinity folder.
    To publish a website you need to FTP the files to your production server, restore a backup of the database to you production and change the web.config connection string.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Rajkumar GS
    Rajkumar GS avatar
    24 posts
    Registered:
    07 Sep 2009
    17 Jan 2011
    Link to this post
    Thanks for your reply.

    Little bit confused.
    I am talking about the login page of the website that I created using Sitefinity, not sitefinity's login. My web site that I created have a login page. Once the web site developed is published, end-user needs to login.

    Hope you are getting me
    Raj
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    30 Sep 2016
    17 Jan 2011
    Link to this post
    Hello Rajkumar,

    From your description it was not clear which login page you are referring to.

    If for the page that a user wants to access you set "annonymous access" - Deny, this user will be send to your login form. Then he/she should authenticate and if the user has permissions for "View" we redirect it back to the requested page.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Rajkumar GS
    Rajkumar GS avatar
    24 posts
    Registered:
    07 Sep 2009
    18 Jan 2011
    Link to this post
    This screenshot would describe more better.

    In this screenshot, you can see the login page of my website that I created. I opened it by click 'Preview' linkbutton of loginpage.

    What I am trying to accomplish is
    Publish the website that I created using Sitefinity. This is for demo purpose of the website to my lead. They don't want to see - login to sitefinity first. Then go to my website. They want directly see the first page of my website (here it is loginpage - as seen in the screeenshot)
    'LoginPage.aspx' - the login page of my website is not physically located, right ? I understood that It is created on the fly from database.

    Hope this make sense

    Thanks again
    Rajkumar
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    30 Sep 2016
    18 Jan 2011
    Link to this post
    Hi Rajkumar,

    Yes - 'LoginPage.aspx' - the login page of your website is not physical file, but you can specify the default login page in the web.config using authentication node


    <authentication mode="Forms">  
            <forms name=".ASPNET" loginUrl="~/LoginPage.aspx" protection="All" timeout="1440" path="/" />
    </authentication>

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Rajkumar GS
    Rajkumar GS avatar
    24 posts
    Registered:
    07 Sep 2009
    18 Jan 2011
    Link to this post
    Thanks for your response.

    I tried your suggestion. But it was not working.

    My development machine is Windows Xp with IIS 5.1

    Since it not worked, I tried adding the same filename in the list of 'Default Document' in 'Documents' tab in IIS - again not worked. (I tried LoginPage.aspx & Sitefinity/LoginPage.aspx - both doesn't worked)

    I have faced something strange, working different than your suggestion.!

    Deleted my existing Virtual Directory and created a new Virtual Directory. The new virtual directory worked fine by loading my website's login itself!

    To find how it is working, i done  some work that I described below and learned something!

    What I understood is that we need 'Default.aspx' in the 'Documents' tab of Virtual Directory in the 'Default Document' list. When 'Default.aspx' page is there is the list, my website's login page is loaded. When I removed from that list, it is not working. (no page is loading)

    To make sure that is there is any effect with the LoginUrl in web.config, I gave a non-existing aspx file name there. Eventhough everything is working fine

    <authentication mode="Forms"> 
            <forms name=".ASPNET" loginUrl="~/LoginPage123.aspx" protection="All" timeout="1440" path="/" />
    </authentication>

    No effect for this setting - still works with the 'Default.aspx' (instead of LoginPage.aspx) page in IIS 'Default Document' settings

    Please see the attachment screenshot for a clearer picture
    01_Default.aspx Working.JPG
    02_IIS Settings of Sitefinity.JPG
    03_No Default.aspx.jpg  &
    04__Without Default.aspx Not Working.JPG

    To confirm, I manually renamed the 'Default.aspx' in the root folder to Default3.aspx -. Site it not working. When it is 'Default.aspx' it is working. Please see these attached screenshot files
    05 - No Physical Default.aspx - Not working.JPG &
    06 - Physical Default.aspx Present - Working.JPG

    From this it is clear for me that Default.aspx is doing some stuff

    Kindly explain how it is working with Default.aspx page that is physically located in the root folder of your sitefinity project. Is that is designed by you, for this purpose !?

    Looks strange for me. Could you please explain what is happening here. !?

    To make you clear only, I have explained this much with much screenshots

    Thanks
    Raj
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    30 Sep 2016
    02 Feb 2011
    Link to this post
    Hello Rajkumar,

    There is no special purpose of the Default.aspx page in Sitefinity project. This is is a page that we load in case that there is no "Home page" set for your website from the admin UI.  This Default.aspx page is just a document that does not interact in any way to Sitefinity's logic.


    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
8 posts, 0 answered