Wednesday, June 14, 2017

Apache webserver

In this tomcat webserver by default my website will be  deployment in web-app directory 

Directory root:
In this apache webserver ( application )by default my website will be deployed in /var/www/html   directory
instead of /var/www/html 
 i am creating  folder document_root = "/content/sites/#{sitename}"

#  whenever refer anything  you have to put # symbol.
.each for each site.
sample virtual host in google
In this AEM webserver it will get deployed CRX-quickstart directory.
for bnsf = domain
bnsf.com= virtual host

how webserver knows this is domain??
by using the virtual host.

attribute for apache
site
port number

based on  domain name will create a website

No comments:

Post a Comment