Linux serverlinux web serverNETWORK ADMINISTRATIONS

36 Lecture 36 How to configure Apache Web Server in #RHEL #Bangla Tutorial #Linux

yum install httpd -y
mkdir /var/www/html/idb

========Name Base Virtual Hosting==================
vim /etc/httpd/conf/httpd.conf
——–Insert————end of line———

VirtualHost 192.168.1.10:80
servername www.idb.com
DocumentRoot /var/www/html/idb
/VirtualHost

:wq
——————–
To check insert systext is okay

vim /etc/hosts
192.168.1.10 www.localhost.com
192.168.1.10 www.idb.com

firewall-cmd –permanent –add-service=http
firewall-cmd –reload

cd /var/www/html/idb
vim index.html
———————

systemctl restart httpd.service
systemctl start httpd.service
systemctl enable httpd.service
setenforce 0

Open brower & type www.idb.com
or 192.168.1.10

———————————————————————————————————————–
Muhammad Tareq Musa
M.Sc, MCP, MCSA, CCNA Cyber Ops. Associate
MTCNA. MTCRE
Microsoft Windows Server 2016 Charter Member
Azure 900 Certified
Technical Trainer
We providing Training by Online Specially Windows Server 2016, Exchange Server 2016 and so on.
Feel Free to ping me
Contact: +8801844075129, +8801674962416
musatareqc1@gmail.com

————————————————————————————————————————-
Join Facebook study Group :
# https://www.facebook.com/groups/30279…
# https://www.facebook.com/groups/42719…
————————————————————————————————————————————–
#English is not my 1st language , we try english here just for everyone understanding , Sorry for any mistake .
—————————————————————————————————————————————-
👉Facebook : https://www.facebook.com/profile.php?…

👉LinkdIn: https://www.linkedin.com/in/tareq-mus…

Playlist # Exchange Server 2016
👉 https://www.youtube.com/watch?v=ibg-j…

Playlist # Windows Server 2016 (70-740)
👉 https://www.youtube.com/watch?v=rGPdQ…

Playlist # Windows Server 2016 (70-741)

Playlist # Windows Server 2016 (70-742)

Playlist # Windows Server 2016 (70-744)

Playlist # Mikrotik
👉https://www.youtube.com/watch?v=Uu3Rz…

WhatsApp +8801844075129

source

by BD – Server Solutions

linux web server

Leave a Reply

Your email address will not be published. Required fields are marked *