Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3
8019 posts

Uber Geek
+1 received by user: 384

Trusted
Subscriber

  Reply # 283748 18-Dec-2009 13:29
Send private message

If my web server's lan ip address was 192.168.1.55 and the url I want to use to access it was xyz.mydomain.com you would add a line:

192.168.1.55 xyz.mydomain.com

Note: the # character is used to comment out a line so it's not enabled, so don't put a # in front of this line.

First I would double check if your make/model of router supports local loop back, as this would make host file entries unnecessary.

BDFL - Memuneh
58742 posts

Uber Geek
+1 received by user: 10137

Administrator
Trusted
Geekzone
Subscriber

  Reply # 283751 18-Dec-2009 13:38
Send private message

imanewbe: what do you mean by domain? Im a bit of a noob sorry. Is it like my computer name.


Whe did you put the files? On the default folder for the webserver, or on IIS have your created a new "site"? If you created a new site you must have entered a name on binding - this is the name you have to enter on your browser and in the hosts files.

Now...

1.You might just put the files in the default site, which means the binding is everything coming in regardless of header will be for that site: browsing by IP address should just work

2.You might have created a new site on IIS, which means the binding is to a specific domain (right-click the site, click Binding and find what you have there). In this case on your hosts file you can enter the PC LAN IP address and the site name as specific in the binding.





 
 
 
 




22 posts

Geek


  Reply # 283761 18-Dec-2009 13:51
Send private message

Ragnor: If my web server's lan ip address was 192.168.1.55 and the url I want to use to access it was xyz.mydomain.com you would add a line:

192.168.1.55 xyz.mydomain.com

Note: the # character is used to comment out a line so it's not enabled, so don't put a # in front of this line.

First I would double check if your make/model of router supports local loop back, as this would make host file entries unnecessary.


It does not support local loop back.
I tried putting into the hosts file: 10.1.1.3 http://hadleyfraser.homeip.net/ but it didn't seem to help
is this correct. The ip of my computer is 10.1.1.3 and the url i got from dyndns.com is http://hadleyfraser.homeip.net/




22 posts

Geek


  Reply # 283764 18-Dec-2009 13:55
Send private message

freitasm:
imanewbe: what do you mean by domain? Im a bit of a noob sorry. Is it like my computer name.


Whe did you put the files? On the default folder for the webserver, or on IIS have your created a new "site"? If you created a new site you must have entered a name on binding - this is the name you have to enter on your browser and in the hosts files.

Now...

1.You might just put the files in the default site, which means the binding is everything coming in regardless of header will be for that site: browsing by IP address should just work

2.You might have created a new site on IIS, which means the binding is to a specific domain (right-click the site, click Binding and find what you have there). In this case on your hosts file you can enter the PC LAN IP address and the site name as specific in the binding.



I right clicked on the site and went to bindings and i have localhost and 127.0.0.1 and neither have a host name. If i try to add 1 it says it 127.0.0.1:80 is an invalid ip address

BDFL - Memuneh
58742 posts

Uber Geek
+1 received by user: 10137

Administrator
Trusted
Geekzone
Subscriber

  Reply # 283767 18-Dec-2009 13:59
Send private message

It sounds like you're using the default site - which means browinsg by IPAdress should bring up the site.

Next question: when you try on your local PC you can see the default page?






22 posts

Geek


  Reply # 283769 18-Dec-2009 14:01
Send private message

Do you mean if i got to localhost can i see it? Yes.

BDFL - Memuneh
58742 posts

Uber Geek
+1 received by user: 10137

Administrator
Trusted
Geekzone
Subscriber

  Reply # 283772 18-Dec-2009 14:08
Send private message

In this case, if you enter http://10.1.1.3 on another PC you are not seeing anything? In this case I'd say

a) you do have a software firewall blocking connections
b) you other PC is in another LAN segment (not 10.1.1.x)

When did you turn your firewall off? Have you rebooted your PC since turning your firewall off?

On your other PC try running from a command prompt:

TELNET 10.1.1.3 80 [ENTER]
get [ENTER]

What do you see?




8019 posts

Uber Geek
+1 received by user: 384

Trusted
Subscriber

  Reply # 283773 18-Dec-2009 14:10
Send private message

Assuming on your lan pc's you can get to the site via http://10.1.1.3/ then if you want to get to it by http://hadleyfraser.homeip.net/ ...in the hosts file on the lan pc's you would put.

10.1.1.3 hadleyfraser.homeip.net






22 posts

Geek


  Reply # 283775 18-Dec-2009 14:14
Send private message

I get TELNET is not recognised as an internal or external command, operable program or batch file. Do i have to run something so i can telnet?
I have completely turned my windows firewall off and havent restarted my PC in a while.
I am running avg free 8.5 and i dont think it has a firewall of its own.



22 posts

Geek


  Reply # 283776 18-Dec-2009 14:16
Send private message

Ragnor: If on one of your lan pc's (not the server) you can get to the site by http://10.1.1.3/ then if you want to get to it by http://hadleyfraser.homeip.net/ in the hosts file on the lan pc's you would put.

10.1.1.3 hadleyfraser.homeip.net





I cant get to http://10.1.1.3/ from anyone other computer

8019 posts

Uber Geek
+1 received by user: 384

Trusted
Subscriber

  Reply # 283778 18-Dec-2009 14:17
Send private message

Can you ping 10.1.1.3 ?

Windows Key + r to bring up the run dialogue > type: "cmd" (without quotes) then hit enter > then type: "ping 10.1.1.3" and hit enter (without quotes)




22 posts

Geek


  Reply # 283781 18-Dec-2009 14:22
Send private message

yes. i can ping it. i can also access the shared files on my computer by typing \\computername

8019 posts

Uber Geek
+1 received by user: 384

Trusted
Subscriber

  Reply # 283782 18-Dec-2009 14:24
Send private message

In IIS take can you post screenshots of the bindings and basic setup screens for the site?

BDFL - Memuneh
58742 posts

Uber Geek
+1 received by user: 10137

Administrator
Trusted
Geekzone
Subscriber

  Reply # 283784 18-Dec-2009 14:35
Send private message

imanewbe: I get TELNET is not recognised as an internal or external command, operable program or batch file. Do i have to run something so i can telnet?
I have completely turned my windows firewall off and havent restarted my PC in a while.
I am running avg free 8.5 and i dont think it has a firewall of its own.


TELNET is not installed by default on Windos Vista and Windows 7. Open Control Panel, Programs and Features, Turn Windows Features On or Off and check the box next to Telnet...

AVG8.5 free doesn't have a firewall - have you have disabled the Windows firewall entirely? If so you should reboot your system to complete the change.






22 posts

Geek


  Reply # 283787 18-Dec-2009 14:42
Send private message

https://cdn.geekzone.co.nz/imagessubs/blog6b51eb8e27aee87eb45af6c77e5657f3.jpg
https://cdn.geekzone.co.nz/imagessubs/blogcde9af319128629c6483770b55693c56.jpg
here are a couple of pics. Is this what you wanted?

1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Symantec protects data everywhere with Information Centric Security
Posted 21-Sep-2017 15:33


FUJIFILM introduces X-E3 mirrorless camera with wireless connectivity
Posted 18-Sep-2017 13:53


Vodafone announces new plans with bigger data bundles
Posted 15-Sep-2017 10:51


Skinny launches phone with support for te reo Maori
Posted 14-Sep-2017 08:39


If Vodafone dropping mail worries you, you’re doing online wrong
Posted 11-Sep-2017 13:54


Vodafone New Zealand deploy live 400 gigabit system
Posted 11-Sep-2017 11:07


OPPO camera phones now available at PB Tech
Posted 11-Sep-2017 09:56


Norton Wi-Fi Privacy — Easy, flawed VPN
Posted 11-Sep-2017 09:48


Lenovo reveals new ThinkPad A Series
Posted 8-Sep-2017 14:37


Huawei passes Apple for the first time to capture the second spot globally
Posted 8-Sep-2017 10:45


Vodafone initiative enhances te reo Maori pronunciation on Google Maps
Posted 8-Sep-2017 10:40


Voyager Internet expand local internet phone services company with Conversant acquisition
Posted 6-Sep-2017 18:27


NOW Expands in to Tauranga
Posted 5-Sep-2017 18:16


Windows 10 Fall Creators Update coming Oct. 17
Posted 4-Sep-2017 14:10


Garmin introduce Garmin vivoactive 3
Posted 1-Sep-2017 18:38



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.