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.
Still I'm getting the message of 'This page can't be displayed' in IE. Any ideas why?
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.
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.
In the browser I tried to go directly to the ip address 192.168.1.32 hpc_intranet and it started a bing search!
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.
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....
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.
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
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!
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......!!
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?
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.
Still I'm getting the message of 'This page can't be displayed' in IE. Any ideas why?
Thanks Tony
Hi Jigar
Thanks, I had a look and it looks ok....
Tony
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
Hi HJR
Amazingly I did that, I know what you mean sometimes its the most obvious things!
Tony
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:
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:
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.
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.
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
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
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:
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.
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....
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
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
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
Hi Tony,
I see a clue in your first screenshot, there is no ASP.NET section.
It should look this this:
Check out this guide how to enable ASP.NET on your server.
Jeavon
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......!!
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
is working on a reply...