Тёмный

Host Multiple Websites With SSL Encryption in RHEL 8 | Configure HTTPS Apache Server | Nehra Classes 

Nehra Classes
Подписаться 47 тыс.
Просмотров 12 тыс.
50% 1

#Welcome to Nehra Classes RU-vid Channel#
#Host Multiple Websites With SSL Encryption in RHEL8#
#Installation & Configuration of Apache Web Server (https)#
================================================
Use below commands for the configuration:
hostnamectl set-hostname www.nehraclasses.com
hostnamectl
clear
dnf repolist
clear
yum install -y httpd openssl mod_ssl
clear
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt
clear
ls -l
cp -r server.crt /etc/pki/tls/certs/
cp -r server.key /etc/pki/tls/private/
clear
vim /etc/httpd/conf.d/ssl.conf
clear
httpd -t
apachectl configtest
vim /etc/httpd/conf.d/httpd.conf
cd /var/www/html/
ll
mkdir -p /var/www/html/website1
mkdir -p /var/www/html/website2
ll
ls -lZd /var/www/html/
ls -lZd website1
ls -lZd website2
clear
httpd -t
clear
cd website
cd website2
pwd
clear
vim index.html
cd ..
cd website1
clear
ll
cp -r /root/Desktop/perfect-learn/* .
ll
clear
httpd -t
clear
firewall-cmd --permanent --add-service=https
firewall-cmd --permanent --add-port=443/tcp
firewall-cmd --reload
clear
systemctl start httpd
systemctl enable httpd
systemctl status httpd
clear
cd
vim /etc/hosts
clear
systemctl restart httpd
===
Thanks for watching the video. If it helped you then, please do like & share it with others as well. Feel free to post your queries & suggestions, we will be glad to answer your queries.
If you like our hard work then do subscribe to our channel & turn on the bell notification for latest updates.
===
Our Some Popular Videos:
Yum Server RHEL 7:
• Configure Local Yum Re...
DNF/Yum Server RHEL 8:
• Configure Local DNF / ...
Puppet Configuration:
• Install and Configure ...
Startis File System in RHEL 8:
• Stratis Feature in RHE...
Concept of All RAID Levels:
• Session-31 | Concept o...
Configure RAID-0 in Linux:
• Live Linux Training (R...
Configure RAID-1 in Linux:
• Live Linux Training (R...
Configure RAID-5 in Linux:
• Live Linux Training (R...
Configure RAID-6 in Linux:
• Live Linux Training (R...
Configure RAID-10 in Linux:
• Live Linux Training (R...
Migrate LVM:
• Migrate Logical Volume...
LVM Snapshot:
• Session-30 | Logical V...
===
Contact Us:
Vikas Nehra's Twitter Handle:👇
bit.ly/VikasNehraTwitterHandle
Registration:👇
bit.ly/NehraClassesRegForm
Twitter Handle:👇
bit.ly/NehraClassesTwiiterHandle
Facebook Page:👇
nehraclasses
Instagram:👇
/ nehraclasses
Webpage:👇
bit.ly/NehraClassesWebpage
Telegram Channel: 👇
t.me/NehraClasses
WhatsApp Us: 👇
bit.ly/2Kpqp5z
Email Us:👇
Email: nehraclasses@gmail.com
===
©COPYRIGHT. ALL RIGHTS RESERVED.
#NehraClasses #LinuxTraining #WebServer

Опубликовано:

 

4 июн 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@pbbhosale9
@pbbhosale9 21 час назад
Very Nice video which i search
@MurangShaBu_MahalNaBiGas
@MurangShaBu_MahalNaBiGas Год назад
thank you again, I watch all the ads to support your channel, good work sir
@NehraClasses
@NehraClasses Год назад
Much appreciated
@wesg01
@wesg01 2 года назад
Very nice work Sir
@harshpawar5025
@harshpawar5025 2 года назад
Excellent video Sir !!
@mrsahoo6476
@mrsahoo6476 3 года назад
Really great video sir
@NehraClasses
@NehraClasses 3 года назад
Many thanks
@anilkundagol8864
@anilkundagol8864 Год назад
Hi I have the ssl cert issued by server do i need to install open ssl ? Should i follow the same procedure
@rizfpathan81
@rizfpathan81 Год назад
In that situation Can't change main Domin,that you perches only one domin, you can under main Domin run 2 or more website,,, right please clarify....
@dennisweikel2566
@dennisweikel2566 Год назад
I followed your instructions but the web server doesn't load. I'm wondering if there is a rights \ permission issue with the httpd.conf file. $ httpd -t httpd: Syntax error on line 355 of /etc/httpd/conf/httpd.conf: Could not open configuration file /etc/httpd/conf.d/httpd.conf: Permission denied $ sudo httpd -t syntax ok
@taru123451
@taru123451 3 года назад
Will it work for HTTP as well ? As you have created Vhost only for 443
@NehraClasses
@NehraClasses 3 года назад
It using SSL, so it will work on https only
@mrsahoo6476
@mrsahoo6476 3 года назад
Please sir make a video, how to make apache server that we can access outside of network using internet
@NehraClasses
@NehraClasses 3 года назад
use public ip address instead of local ip address.
@user-lw5xf8dk3o
@user-lw5xf8dk3o 2 года назад
Sir ..i have done the exact same commands but still I can't load it ...i use aws ec2 so i have given the permission of 443/TCP, 80/TCP,ssh ..and i have also used a VM but still can acces the sites
@NehraClasses
@NehraClasses 2 года назад
On AWS you have to open ports in AWS firewall also, please check security groups for the same
@vaibhavthakur3230
@vaibhavthakur3230 3 года назад
Sir, what if we use chrome instead of firefox?
@NehraClasses
@NehraClasses 3 года назад
It will work for all.
@gauravchauhan4033
@gauravchauhan4033 Год назад
After doing all the configuration, can we access on the internet or on the local network
@NehraClasses
@NehraClasses Год назад
Local area network, for internet you have to use public IP address
@gauravchauhan4033
@gauravchauhan4033 Год назад
@@NehraClasses Thanks for your time to reply, can we please guide us or make a video for the same.
@rodolfoleonbolanosflorez6631
@rodolfoleonbolanosflorez6631 2 года назад
i did it but it says Forbidden You don't have permission to access this resource.
@NehraClasses
@NehraClasses 2 года назад
Please share command history and logs in our telegram channel, for better support join our channel membership.
@bappaadhikari326
@bappaadhikari326 9 месяцев назад
Sir, We want to --> Host Multiple Websites With SSL Encryption in Ubuntu
@SonuKumar-jz9hg
@SonuKumar-jz9hg Год назад
I have done all configuration but when i am trying to restart httpd server so i am getting below error. Sir please could you please help me on this issue. Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xeu httpd.service" for details.
@NehraClasses
@NehraClasses Год назад
Please share journalctl output in our telegram group
@SonuKumar-jz9hg
@SonuKumar-jz9hg Год назад
@@NehraClasses thank you for reply sir In telegram chat option is disabled How to reply ?
@NehraClasses
@NehraClasses Год назад
​ @Sonu Kumar please join telegram group using this link: t.me/NehraClassesChat
@backupms1500
@backupms1500 4 года назад
How to copy the temple for our desktop
@NehraClasses
@NehraClasses 4 года назад
Search on google for free copy right free website templates and download them.
@backupms1500
@backupms1500 4 года назад
Sir, is it public ip address
@NehraClasses
@NehraClasses 4 года назад
No it's LAN IP address
Далее
Apache Virtual Hosts
40:20
Просмотров 101 тыс.
Setup Apache as a Reverse Proxy
15:49
Просмотров 12 тыс.