Hosting website from centos
yubaraj singh
Posted on March 13, 2022
Install http using command
sudo yum install httpd
check status of server
systemctl status httpd
start the httpd service
sudo systemctl enable httpd
sudo systemctl start httpd
the go the /var/www/html/
cd /var/www/html
create new index.html
vi index.html
write html code here and save the code
now your site is hosted in your ip or localhost.
💖 💪 🙅 🚩
yubaraj singh
Posted on March 13, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.