Friday, May 22, 2020

Type of binding in IIS(Internet Information Services) in windows server



IIS web server binding types in windows 2012R2
IIS webserver 

   



Before understanding binding, you must be able to understand the concept of these terms.

IP Address:

An IP address is a number identifying a computer or another device on the Internet. IP addresses uniquely identify the source and destination of data transmitted with the Internet Protocol.

IP address is the unique identification address of your website similar to your house address in your city with the help of the IP address of your website is uniquely identifiable among other websites on the internet.

Port Number :

A port in computer networking is an access channel for communication between two devices. When a service (server program) initially is started, it is said to bind to its designated port number. As any client program wants to use that server, it also must request to bind to the designated port number.
Port represents the numbers and basically specific to the protocol. Port numbers are from 0 to 65535. Ports 0 to 1024 are reserved for use by certain privileged services whenever there are exchanges of data or communication present, there must be a port for this.

Hostname :

A hostname is a domain name that has at least one associated IP address. For example, the domain names www.example.com and example.com are two hostnames, whereas the com domain is not, In this Second-level domain is example and hostname is www.
In simpler terms the name for your website.
All hostnames have a corresponding IP Address that is mapped to it. These hostnames are resolved to their IP Address using DNS. There are four parameters that can be used in a site binding: IP Address, Port and Host Name, and type of website but with a combination of IP address and port, you may generate a fifth possibility for binding.


iis server panel in windows server 2012R2
IIS binding panel view


Website with IP address binding :

In this we specify the IP address for each of our website, Every website has a unique IP address. For example we bind IP address 192.168.43.51 with website name www.example.com whenever an HTTP request coming to 192.168.43.51 will be served by this website irrespective to the host header


website name(hostname) with ip address
website with IP address
                       


Website with hostname binding :

In this, we have the advantage of the host header we can change the host header according to our needs. For example, we are running a small business and we afford the only cost of one IP address then we host multiple hostnames using same IP address like www.example.com and example.com host on same IP address 192.168.43.51


website binding with hostname addresss
website with hostname


Website with unique port:

In this port number of every website must be different IP address or hostname may be the same. So whenever we search for a website we specify the port also like 192.168.43.50:80 or 192.168.43.50:8010

Sometimes this type of binding causes problems also like the browser default port for HTTP is 80 so www.example.com will work fine but for example.com we must specify the port as I mentioned above.


website binding with unique port
website with unique port binding



Website with Type binding:

Type binding helps us to differentiate between HTTP and https website IIS mainly have two types through which we can identify the website whether it is bind to HTTP or https. For https type SSL certificate is required and the default port for this 443 as shown below


website binding with unique type(http/https)
website with unique type(http/https) binding




No comments:

Post a Comment

Knowing Kali Linux for OSCP

Kali Linux is developed and maintained by the offensive security professional. It is a Debian-based Linux distribution focus at advanced Pen...