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

  Рет қаралды 12,649

Nehra Classes

Nehra Classes

Күн бұрын

#Welcome to Nehra Classes KZbin 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/VikasNeh...
Registration:👇
bit.ly/NehraCla...
Twitter Handle:👇
bit.ly/NehraCla...
Facebook Page:👇
nehraclasses
Instagram:👇
/ nehraclasses
Webpage:👇
bit.ly/NehraCla...
Telegram Channel: 👇
t.me/NehraClasses
WhatsApp Us: 👇
bit.ly/2Kpqp5z
Email Us:👇
Email: nehraclasses@gmail.com
===
©COPYRIGHT. ALL RIGHTS RESERVED.
#NehraClasses #LinuxTraining #WebServer

Пікірлер: 32
@pbbhosale9
@pbbhosale9 Ай бұрын
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
@mrsahoo6476
@mrsahoo6476 3 жыл бұрын
Really great video sir
@NehraClasses
@NehraClasses 3 жыл бұрын
Many thanks
@harshpawar5025
@harshpawar5025 2 жыл бұрын
Excellent video Sir !!
@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....
@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.
@anilkundagol8864
@anilkundagol8864 Жыл бұрын
Hi I have the ssl cert issued by server do i need to install open ssl ? Should i follow the same procedure
@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
@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.
@bappaadhikari326
@bappaadhikari326 10 ай бұрын
Sir, We want to --> Host Multiple Websites With SSL Encryption in Ubuntu
@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
@SonuKumar-jz9hg
@SonuKumar-jz9hg 2 жыл бұрын
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 2 жыл бұрын
Please share journalctl output in our telegram group
@SonuKumar-jz9hg
@SonuKumar-jz9hg 2 жыл бұрын
@@NehraClasses thank you for reply sir In telegram chat option is disabled How to reply ?
@NehraClasses
@NehraClasses 2 жыл бұрын
​ @Sonu Kumar please join telegram group using this link: t.me/NehraClassesChat
@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.
@vaibhavthakur3230
@vaibhavthakur3230 3 жыл бұрын
Sir, what if we use chrome instead of firefox?
@NehraClasses
@NehraClasses 3 жыл бұрын
It will work for all.
@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
@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
王子原来是假正经#艾莎
00:39
在逃的公主
Рет қаралды 26 МЛН
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
超凡蜘蛛
Рет қаралды 16 МЛН
Setup Apache as a Reverse Proxy
15:49
Learning Software
Рет қаралды 13 М.
Kerberos Authentication Explained | A deep dive
16:52
Destination Certification
Рет қаралды 341 М.
Setting up Simple Samba File Shares
24:24
Learn Linux TV
Рет қаралды 240 М.
王子原来是假正经#艾莎
00:39
在逃的公主
Рет қаралды 26 МЛН