locked
Cannot publish site to local network server RRS feed

  • Question

  • User743508062 posted

    Hi

    I have a windows server 2008 R2 with IIS 7.

    I have installed:

    •  .net frameworks 2, 3, 4.5
    • SQL Server Express 2012.
    •  web deploy 3.
    • MVC 3.
    • VS express for web.
    • Confirguration for web hostings.

    Further reading suggested that I should then go to IIS and add new site to the sites nodes and insert some details such as app-pools etc.

    I did this rather gingerly and created the site called wikipedia.org

    I went to webmatrix and inserted the details I had for the server:

    • Protocol: web deploy
    • Server: GBSAPP0004 (this being the actual name of the hosting machine)
    • Username: My network userID
    • Password: My network password
    • Site Name: wikipedia.org
    • destination url: https://GBSAPP0004

    For the db connection string I have no idea what to put in here is it the publishing string or the hosting string, for the moment I have left it blank and when I validate the connection - comes back saying - could not connect.

    Frustrated, I read more and copied the webmatrix site folder to the C: drive.

    I deleted the wikipedia.org site in IIS and created a new one using the copied over folder as the physical path ie c:wikipedia.org

    I also copied the db into the DATA folder and checked the app-pool and had both integrated  and v 2.0 of the framework was running.

    ------------------------

    I went to the server's IE9 and typed the url: http:\\wikipedia.org :

    The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

    --------------------------------------------------------------------------------

    Please try the following:

    If you typed the page address in the Address bar, make sure that it is spelled correctly.

    If you are trying to reach a secure site, make sure your Security settings can support it. Click the Back button to try another link.

     

    DNS Fail

    --------------------------------------------

    I also typed the url: https:\\wikipedia.org : and get this error:

     

    Internet Explorer cannot display the webpage  

    What you can try:  

    [Diagnose Connection Problems]

    More information

    Please help! Thanks.

     

    Wednesday, March 13, 2013 6:11 AM

Answers

  • User-1315512054 posted

    Hello,

    You could read this tutorial - how to add a new site in IIS 7.

    Do not forget to add a new A/CNAME record in your DNS settings and to point your domain name to the hosting server.

    Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 13, 2013 12:35 PM