Forum Discussion
Siva_107534
Nimbostratus
Jan 27, 2010Not able to connect the domain name behind LTM
Hi All,
Using forward proxy, i achieved the connectivity based on IP from the internal server to external world.
While i trying to connect the ...
hoolio
Cirrostratus
Jan 29, 2010Sure. If you use a browser or command line tool like curl to make an HTTP request using a hostname in the URL, the client (browser or CLI tool) resolves the hostname to an IP address and opens a TCP connection to the resolved IP address. The client sets the HTTP host header value in the HTTP request to the value of the hostname. If a user enters an IP address in the URL, the client inserts that IP address in the Host header value.
Here are two curl requests using a hostname and an IP address which demonstrates the different Host header values in the request:
$ curl -v www.google.co.uk
> GET / HTTP/1.1
> User-Agent: curl/7.19.6 (i686-pc-cygwin) libcurl/7.19.6 OpenSSL/0.9.8l zlib/1.2.3 libidn/1.15 libssh2/1.2
> Host: www.google.co.uk
> Accept: */*
$ curl -v 216.239.59.103
> GET / HTTP/1.1
> User-Agent: curl/7.19.6 (i686-pc-cygwin) libcurl/7.19.6 OpenSSL/0.9.8l zlib/1.2.3 libidn/1.15 libssh2/1.2
> Host: 216.239.59.103
> Accept: */*
So if you configure the client to somehow resolve the hostname you want in the Host header and the client uses that hostname in its HTTP request, the client will set the Host header to the hostname. This solution is ideal in that you don't need to modify your FastL4 VIP or using an iRule to change the requests.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects