Copied to clipboard

Flag this post as spam?

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


  • Tony Groome 261 posts 804 karma points
    Jul 14, 2015 @ 10:19
    Tony Groome
    0

    Why can't this page be displayed?

    Hi All

    Still struggling with this....

    So far I have created an intranet in WebMatrix using Umbraco 7.2.4 and SQL CE. Next I copied the complete project to our server to get it running for everybody. In Umbraco I have added a domain name (under Culture & Hostnames) to my homepage called hpc_intranet. If I run it on the server in WebMatrix it works the same as on my desktop.

    I set up DNS with MS Dns Manager - it's my first time doing this so I think it's done right. I set up both forward and backward lookup, the only hard question it asked me was for the network part of our ip address 192.168.1

    I set up IIS too, on port 85 (I tried other ports too like 80, 82, 101). The physical path points to the project in the wwwroot folder.

    enter image description here

    Still I'm getting the message of 'This page can't be displayed' in IE. Any ideas why?

    Thanks Tony

  • jigar 170 posts 233 karma points
    Jul 14, 2015 @ 10:53
    jigar
    1
    1. Open the file ~/config/umbLog4net.config from your project
    2. Check the location of the umbraco log file
    3. Open the log file and check if there is any hint like incorrent connection or like wise
  • Tony Groome 261 posts 804 karma points
    Jul 14, 2015 @ 12:57
    Tony Groome
    0

    Hi Jigar

    Thanks, I had a look and it looks ok....

    enter image description here

    Tony

  • Hywel Rees 56 posts 224 karma points
    Jul 14, 2015 @ 13:32
    Hywel Rees
    1

    Hi Tony,

    Might be a bit of an obvious question, but as you specified port 85 in your IIS setup, are you also specifying this within your link?

    http://192.168.1:85/

    or

    http://hpc_intranet:85/

    Cheers,

    HJR

  • Tony Groome 261 posts 804 karma points
    Jul 14, 2015 @ 13:51
    Tony Groome
    0

    Hi HJR

    Amazingly I did that, I know what you mean sometimes its the most obvious things!

    Tony

  • Nik 1614 posts 7260 karma points MVP 7x c-trib
    Jul 14, 2015 @ 13:36
    Nik
    1

    Hi Tony,

    The first thing I notice about your IIS setup is that you don't have any domains bound to your site just port 85. How are you browsing your website?

    I would put the intranet site on port 80 and bind it to an address for example:

    myIntranet.local

    Then I would, for testing purposes, edit your host file on your local machine and put an entry in there to point to the server using the address myIntranet.local

    Your entry might look something like this:

    192.168.0.25 myintranet.local

    Where you replace the IP above with the IP of your server. Then try browsing to http://myintranet.local on your machine and see if the site works.

  • Tony Groome 261 posts 804 karma points
    Jul 14, 2015 @ 14:01
    Tony Groome
    0

    Hi Nik

    In the Umbraco project I did specify hpcintranet as my domain, under Culture and Hostnames on the homepage node in the Content editor. So in IIS Manager I added hpcintranet as a domain name and specified the ip address of the server, the other choice was 'all unassigned ip addresses' - I did try that too and it didn't work.

    enter image description here

    In the browser I tried to go directly to the ip address 192.168.1.32 hpc_intranet and it started a bing search!

    Thanks Tony

  • Nik 1614 posts 7260 karma points MVP 7x c-trib
    Jul 14, 2015 @ 14:35
    Nik
    1

    Hi Tony,

    Leave the IP as all unassigned for now, and add .local or .com or something at the end of the host name.

    One of the reasons it did a bing search is that you probably just typed it in. You are better of forcing the address by typeing

    http://hpc_intranet

    into the address bar .
    However, I would put an entry in my host file. This is done on your local machine by following the instructions here:

    http://www.rackspace.com/knowledge_center/article/how-do-i-modify-my-hosts-file

    The entry you will be putting into your host file is:

    192.168.1.32 hpc_intranet.local (or .com if you put .com at the end of the host name in the binding).

    Save your host file and then on your local machine in a web browser you could be able to browse to http://hpc_intranet.local , you will need the full http bit on the address though.

  • Tony Groome 261 posts 804 karma points
    Jul 14, 2015 @ 14:57
    Tony Groome
    0

    Hi Nik

    I left the ip as all unassigned and added .com to the end of the host name. I edited the host file both on the server and on my desktop and ran http://hpc_intranet.com/ and got....

    enter image description here

    no DNS! Agh! I thought the DNS was ok.

    I setup forward and reverse lookup and thought it seemed straight forward enough, but maybe not.

    Thanks. Tony

  • Nik 1614 posts 7260 karma points MVP 7x c-trib
    Jul 14, 2015 @ 15:06
    Nik
    1

    Hi Tony,

    Make sure that the host file on your machine did update, the host file acts like a local DNS so if it is set up correctly then you shouldn't get an ERRNAMENOT_RESOLVED error. Sometimes Chrome can take a couple of attempts to get the updated host file so try it in I.E and see if you get the same erro

  • Tony Groome 261 posts 804 karma points
    Jul 14, 2015 @ 15:25
    Tony Groome
    0

    Hi Nik

    I double checked them, and sure enough one hadn't saved properly! Now the firewall here is blocking my machine with a host not found error, and on the server when I search for http://hpc_intranet.com/ I'm getting a 500 Server error! Ah the joys of it all!

    Thanks. Tony

  • Jeavon Leopold 3074 posts 13632 karma points MVP 11x admin c-trib
    Jul 15, 2015 @ 11:17
    Jeavon Leopold
    1

    Hi Tony,

    I see a clue in your first screenshot, there is no ASP.NET section.

    It should look this this:

    ASP.NET section

    Check out this guide how to enable ASP.NET on your server.

    Jeavon

  • Tony Groome 261 posts 804 karma points
    Jul 15, 2015 @ 12:12
    Tony Groome
    0

    Wow Jeavon - well spotted! I'm doing an uninstall as it thinks asp.net is already installed. This could take a while, updates to be done as well! Zzzzzz......!!

  • Tony Groome 261 posts 804 karma points
    Jul 22, 2015 @ 08:21
    Tony Groome
    0

    Hi All

    I had to reinstall iis on the server which caused it to lose the gui. A bit of googling sorted it!

    The Umbraco project's homepage is displaying now, but the pages under the homepage won't display IE says This Page Can't be Displayed. What I have noticed is the homepage's url is http://hpcintranet one of the pages below is http:/hpc/hpcbranches could this be the problem? I don't know how to sort this, any ideas?

    Thanks Tony

Please Sign in or register to post replies

Write your reply to:

Draft