On 23/05/2013 17:16, Tim wrote:
So I edited the /etc/host file as follows
Do you mean '/etc/hosts'?
It seems from a later post that your ping looked up the correct IP
address, so presumably you did edit the correct file, but I thought it
would be worth checking.
--
Andrew.
--
Next
Hi Tim,
Starting from the beginning because I have a little more time...
I am trying to access a web site via a different IP address than the
normal web site sits on. I have been told (by the owners of the the
web site) to add an IP address to my host file which resolve to the
domain name.
I am trying to access a web site via a different IP address than the
normal web site sits on. I have been told (by the owners of the the web
site) to add an IP address to my host file which resolve to the domain
name. So I edited the /etc/host file as follows
1.1.1.1 thesite.co.uk (all
First:
ping thesite.co.uk
...and see what address it pings.
Next, run tcpdump while you access the site and see what address is
accessed:
tcpdump -i any -n port 80
--
You can't live a perfect day without doing something for someone
who will never be able to repay you.
--
Next
Also make sure 'file' is mentioned before dns in the hosts line within
/etc/resolv.conf
Martin
On Thursday, 23 May 2013, Keith Edmunds wrote:
First:
ping thesite.co.uk
...and see what address it pings.
Next, run tcpdump while you access the site and see what address is
accessed:
Hi Tim,
I am trying to access a web site via a different IP address than the
normal web site sits on.
You could pass an explicit Host header just to check the server is
configured as you expect. As an example, try
curl -sSvIH 'Host: dorset.lug.org.uk' http://google.com/
Cheers, Ralph.
On 23/05/13 18:37, Keith Edmunds wrote:
First:
ping thesite.co.uk
...and see what address it pings.
Next, run tcpdump while you access the site and see what address is
accessed:
tcpdump -i any -n port 80
Hi
If I ping the web site it comes back saying
ping website.co.uk
On 23/05/13 19:22, Martin Hepworth wrote:
Also make sure 'file' is mentioned before dns in the hosts line within
/etc/resolv.conf
Martin
On Thursday, 23 May 2013, Keith Edmunds wrote:
First:
ping thesite.co.uk
...and see what address it pings.
Next, run tcpdump while you access the
On 23/05/13 19:38, Ralph Corderoy wrote:
Hi Tim,
I am trying to access a web site via a different IP address than the
normal web site sits on.
You could pass an explicit Host header just to check the server is
configured as you expect. As an example, try
curl -sSvIH 'Host:
9 matches
Mail list logo