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
8025 posts

Uber Geek
+1 received by user: 387

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
60598 posts

Uber Geek
+1 received by user: 11532

Administrator
Trusted
Geekzone
Lifetime 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
60598 posts

Uber Geek
+1 received by user: 11532

Administrator
Trusted
Geekzone
Lifetime 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
60598 posts

Uber Geek
+1 received by user: 11532

Administrator
Trusted
Geekzone
Lifetime 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?




8025 posts

Uber Geek
+1 received by user: 387

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

8025 posts

Uber Geek
+1 received by user: 387

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

8025 posts

Uber Geek
+1 received by user: 387

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
60598 posts

Uber Geek
+1 received by user: 11532

Administrator
Trusted
Geekzone
Lifetime 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 »

N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07


All or Nothing: New Zealand All Blacks arrives on Amazon Prime Video
Posted 2-Jun-2018 16:21


Innovation Grant, High Tech Awards and new USA office for Kiwi tech company SwipedOn
Posted 1-Jun-2018 20:54


Commerce Commission warns Apple for misleading consumers about their rights
Posted 30-May-2018 13:15


IBM leads Call for Code to use cloud, data, AI, blockchain for natural disaster relief
Posted 25-May-2018 14:12


New FUJIFILM X-T100 aims to do better job than smartphones
Posted 24-May-2018 20:17


Stuff takes 100% ownership of Stuff Fibre
Posted 24-May-2018 19:41



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.