dns - Domain names assigned with IP -


i have doubt on how domain names assigned ip address.

according icann evey domain assigned ip address globally accessed.

lets there 3 different domains hosted on 1 reseller account

"example.com" "example.org" "againexample.com" 

if query domains there ip address, same ip address!

how possible?

it should different ip address each right?

can explain login here?

when type in address www.domain.com in browser, request sent dns (domain name server). dns server responds ip address associated domain.

your browser sends request server located @ ip address provided, then, based on domain requested, server appropriate content.

basically, on server side, configured follows:

domain.com -> /var/www/domain.com/ otherdomain.com -> /var/www/otherdomain.com/ example.com -> /var/www/example/ admin.com -> /var/www/admin/ 

which means, requested domain, serve content specified folder. example if type domain.com site located in /var/www/domain.com/.

does explain question?


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -