curl -v -H 'Host: durukanbal.com' 193.53.245.139

curl --resolve 'www.durukanbal.com:443:193.53.245.139' https://www.durukanbal.com/tr/index.html



durucuk@testserver:~$ curl -v -H 'Host: durukanbal.com' 193.53.245.139
*   Trying 193.53.245.139:80...
* TCP_NODELAY set
* Connected to 193.53.245.139 (193.53.245.139) port 80 (#0)
> GET / HTTP/1.1
> Host: durukanbal.com
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 301 Moved Permanently
< Date: Fri, 18 Nov 2022 16:15:13 GMT
< Server: Apache
< Location: https://durukanbal.com/
< Content-Length: 231
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="https://durukanbal.com/">here</a>.</p>
</body></html>
* Connection #0 to host 193.53.245.139 left intact



durucuk@testserver:~$ curl -v -H 'Host: durukanbal2.com' 193.53.245.139
*   Trying 193.53.245.139:80...
* TCP_NODELAY set
* Connected to 193.53.245.139 (193.53.245.139) port 80 (#0)
> GET / HTTP/1.1
> Host: durukanbal2.com
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Fri, 18 Nov 2022 16:15:20 GMT
< Server: Apache
< Last-Modified: Thu, 28 Oct 2021 14:25:30 GMT
< Accept-Ranges: bytes
< Content-Length: 163
< Cache-Control: no-cache, no-store, must-revalidate
< Pragma: no-cache
< Expires: 0
< Content-Type: text/html
<
<html><head><META HTTP-EQUIV="Cache-control" CONTENT="no-cache"><META HTTP-EQUIV="refresh" CONTENT="0;URL=/cgi-sys/defaultwebpage.cgi"></head><body></body></html>
* Connection #0 to host 193.53.245.139 left intact
Categories: Bash language

1,337 Comments

Leave a Reply

Avatar placeholder