Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | hosts file and NTL

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Virgin Media Services > Virgin Media Internet Service > Webspace, E-Mail & Browsing Issues
Register FAQ Community Calendar

hosts file and NTL
Reply
 
Thread Tools
Old 05-11-2005, 13:01   #1
claxer
Inactive
 
Join Date: Nov 2005
Posts: 3
claxer is an unknown quantity at this point
Question hosts file and NTL

I have been given a domain name along with an IP address that is to be inserted into my hosts file within my System32/Drivers/etc dir. The reason is for me to view my website home page on a different server.

www.example.com Original Domain
example.com new domain with an IP address in the hosts file.

I have entered the IP address and its related domain name into the hosts file and have tested this using a BT connection †“ this works fine. My web browser redirects me to the new server home page as expected.

However when I try the very same using my NTL connection, it doesnââ‚ÆšÂ¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚¢t work. It redirects me to the original domain.

I suspected there was an issue with NTL and contacted their Tech Support. They couldnââ‚Ãâ €šÂ¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚¢t give me a solid explanation and suggested that the reason maybe because of NTL supplying a non-fixed IP Address.

Has anyone experienced a similar problem? If so, how did you resolve it?

Many thanks

Steve
claxer is offline   Reply With Quote
Advertisement
Old 05-11-2005, 13:09   #2
MovedGoalPosts
Inactive
 
MovedGoalPosts's Avatar
 
Join Date: Jun 2003
Location: 127.0.0.1
Age: 62
Posts: 15,868
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
Re: hosts file and NTL

Moving to email, Web Proxy & webspace discussion
__________________

to Cable Forum

I'm not quite clear on what you are trying to do here? Are you hosting a website on your home PC, or is it that you cannot connect to a website hosted somewhere else on the internet?
__________________

If you are trying to host at home, then yes the IP address of your connection is dynamic. Try setting up a redirection through somewhere like www.no-ip.com
MovedGoalPosts is offline   Reply With Quote
Old 05-11-2005, 13:22   #3
claxer
Inactive
 
Join Date: Nov 2005
Posts: 3
claxer is an unknown quantity at this point
Re: hosts file and NTL

Ho Rob
thanks for your reply!

My Main website is hosted in USA. And I use www.buyitinwales.com to access it as normal. I have a different hosting company who has made a duplicate of my home page. To access this particular page (from MY pc only) I have been given an IP address and the following domain neme: buyitinwales.com (without the www) an inserted this into my hosts file.
As I mentioned earlier this works fine on a BT connection. It redirects me to the new hosting area as expected. When using NTL it continues to direct me to the normal area.

Thanks again

Steve
claxer is offline   Reply With Quote
Old 05-11-2005, 14:08   #4
MovedGoalPosts
Inactive
 
MovedGoalPosts's Avatar
 
Join Date: Jun 2003
Location: 127.0.0.1
Age: 62
Posts: 15,868
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
MovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny starsMovedGoalPosts has a pair of shiny stars
Re: hosts file and NTL

In which case I'd suspect an ntl proxy issue. ntl aren't seeing a difference in the IP names of the two sites. Don't know how you would get round that.

You are sure your PC isn't caching any data - force a refresh (Ctrl-F5 using IE)?
MovedGoalPosts is offline   Reply With Quote
Old 05-11-2005, 14:29   #5
Paul
Dr Pepper Addict
Cable Forum Admin
 
Paul's Avatar
 
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,334
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Re: hosts file and NTL

You can't do it on ntl, simple as that.

Requests for a domain are intecepted by the proxy - which does it's own dns lookup on the domain, so what's in your hosts file is irrelevnt, ignored. You could create a hosts file pointing every domain at 1.2.3.4 and web browsing would still work ......

* This only applies to http / port 80 requests. It will work as expected for https, or http on ports other than 80.
__________________

Baby, I was born this way.
Paul is offline   Reply With Quote
Old 05-11-2005, 19:25   #6
JohnHorb
Guest
 
Location: Sale, Cheshire
Services: 10MB Broadband, DTV, Telephone
Posts: n/a
Re: hosts file and NTL

Eh! How come pointing ad (and porn) domain names at 127.0.0.1 works (i.e. blocks access) then?
  Reply With Quote
Old 05-11-2005, 20:30   #7
SMHarman
Inactive
 
Join Date: Jun 2003
Services: Cablevision
Posts: 8,305
SMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronze
SMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronzeSMHarman is cast in bronze
Re: hosts file and NTL

Because that is happening on your internal network, if you sent the request out on port 80 then it would be served correctly.
SMHarman is offline   Reply With Quote
Old 05-11-2005, 20:38   #8
Paul
Dr Pepper Addict
Cable Forum Admin
 
Paul's Avatar
 
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,334
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Re: hosts file and NTL

Quote:
Originally Posted by JohnHorb
Eh! How come pointing ad (and porn) domain names at 127.0.0.1 works (i.e. blocks access) then?
Because, as smharman says, 127.0.0.1 is your local loopback address, it never leaves your pc.
__________________

Baby, I was born this way.
Paul is offline   Reply With Quote
Old 06-11-2005, 07:21   #9
claxer
Inactive
 
Join Date: Nov 2005
Posts: 3
claxer is an unknown quantity at this point
Unhappy Re: hosts file and NTL

Ok... Would it be fair to say that there is NO solution for my little problem?
Is there not a workaround or something?

Cheers

Steve

claxer is offline   Reply With Quote
Old 06-11-2005, 07:50   #10
JohnHorb
Guest
 
Location: Sale, Cheshire
Services: 10MB Broadband, DTV, Telephone
Posts: n/a
Re: hosts file and NTL

Quote:
Originally Posted by Paul M
Because, as smharman says, 127.0.0.1 is your local loopback address, it never leaves your pc.
Sorry to labour this, but I'm genuinely intrigued. I thought the domain name, if in the hosts file, was resolved to an IP address BEFORE any DNS look-up, so the request leaving the PC would be for the OP's new IP. I'm obviously missing something, but I don't understand where NTL's proxies come into it.
  Reply With Quote
Old 06-11-2005, 13:47   #11
Paul
Dr Pepper Addict
Cable Forum Admin
 
Paul's Avatar
 
Join Date: Oct 2003
Location: Nottingham
Age: 63
Services: Zen & YouFibre FTTP, Sky Q TV, Sky Mobile, Flextel SIP
Posts: 31,334
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Paul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered starsPaul is seeing silvered stars
Re: hosts file and NTL

Have a read of this ;

http://www.cableforum.co.uk/board/article.php?a=14
__________________

Baby, I was born this way.
Paul is offline   Reply With Quote
Old 06-11-2005, 13:51   #12
JohnHorb
Guest
 
Location: Sale, Cheshire
Services: 10MB Broadband, DTV, Telephone
Posts: n/a
Re: hosts file and NTL

Ah! #4 under transparent proxy. Thanks Paul.
  Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 23:17.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum