Reference links
1. https://stackoverflow.com/questions/28364496/laravel-5-remove-public-from-url/54275198#54275198
2. https://devops.ionos.com/tutorials/how-to-set-up-ip-and-port-based-virtual-hosting-vhosts-with-apache-web-server-on-centos-7.html
3. help full video
https://www.youtube.com/watch?v=XZAF5yR-WYQ
step 1
Go to
cd /etc/httpd/conf
vim httpd
add ip entry
your-ip:80
:wq save n close
step 2
Go to
cd /etc/httpd/conf.d
vim bsms.conf
wrote host entry as shown in video
Step 3
add host entru with domain ip in hosts file
vim /etc/hosts
your-ip <space> domain.com
Step 4
Restart the httpd
systemctl restart httpd
Comments
Post a Comment