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
Ragnor
8085 posts

Uber Geek

Trusted

  #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.

 
 
 

Backblaze Unlimited Backup. World’s easiest cloud backup. Get peace of mind knowing your files are backed up securely in the cloud (affiliate link).
freitasm
BDFL - Memuneh
76318 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #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.





Please support Geekzone by subscribing, or using one of our referral links: Dosh referral: 00001283 | Sharesies | Goodsync | Mighty Ape | Backblaze

 

freitasm on Keybase | My technology disclosure

 

 

 

 

 

 


imanewbe

22 posts

Geek


  #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/




imanewbe

22 posts

Geek


  #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

freitasm
BDFL - Memuneh
76318 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #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?




Please support Geekzone by subscribing, or using one of our referral links: Dosh referral: 00001283 | Sharesies | Goodsync | Mighty Ape | Backblaze

 

freitasm on Keybase | My technology disclosure

 

 

 

 

 

 


imanewbe

22 posts

Geek


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

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

freitasm
BDFL - Memuneh
76318 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #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?




Please support Geekzone by subscribing, or using one of our referral links: Dosh referral: 00001283 | Sharesies | Goodsync | Mighty Ape | Backblaze

 

freitasm on Keybase | My technology disclosure

 

 

 

 

 

 




Ragnor
8085 posts

Uber Geek

Trusted

  #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




imanewbe

22 posts

Geek


  #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.

imanewbe

22 posts

Geek


  #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

Ragnor
8085 posts

Uber Geek

Trusted

  #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)


imanewbe

22 posts

Geek


  #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

Ragnor
8085 posts

Uber Geek

Trusted

  #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?

freitasm
BDFL - Memuneh
76318 posts

Uber Geek

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #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.




Please support Geekzone by subscribing, or using one of our referral links: Dosh referral: 00001283 | Sharesies | Goodsync | Mighty Ape | Backblaze

 

freitasm on Keybase | My technology disclosure

 

 

 

 

 

 


imanewbe

22 posts

Geek


  #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





News and reviews »

Samsung Announces Galaxy AI
Posted 28-Nov-2023 14:48


Epson Launches EH-LS650 Ultra Short Throw Smart Streaming Laser Projector
Posted 28-Nov-2023 14:38


Fitbit Charge 6 Review 
Posted 27-Nov-2023 16:21


Cisco Launches New Research Highlighting Gap in Preparedness for AI
Posted 23-Nov-2023 15:50


Seagate Takes Block Storage System to New Heights Reaching 2.5 PB
Posted 23-Nov-2023 15:45


Seagate Nytro 4350 NVMe SSD Delivers Consistent Application Performance and High QoS to Data Centers
Posted 23-Nov-2023 15:38


Amazon Fire TV Stick 4k Max (2nd Generation) Review
Posted 14-Nov-2023 16:17


Over half of New Zealand adults surveyed concerned about AI shopping scams
Posted 3-Nov-2023 10:42


Super Mario Bros. Wonder Launches on Nintendo Switch
Posted 24-Oct-2023 10:56


Google Releases Nest WiFi Pro in New Zealand
Posted 24-Oct-2023 10:18


Amazon Introduces All-New Echo Pop in New Zealand
Posted 23-Oct-2023 19:49


HyperX Unveils Their First Webcam and Audio Mixer Plus
Posted 20-Oct-2023 11:47


Seagate Introduces Exos 24TB Hard Drives for Hyperscalers and Enterprise Data Centres
Posted 20-Oct-2023 11:43


Dyson Zone Noise-Cancelling Headphones Comes to New Zealand
Posted 20-Oct-2023 11:33


The OPPO Find N3 Launches Globally Available in New Zealand Mid-November
Posted 20-Oct-2023 11:06









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.







Pluralsight