How to load a site from Apache using VM's Static / Floating IP ?
I have site deployed and running on CentOS 8, Apache at
$ sudo netstat -tulpn | grep LISTEN tcp6 0 0 :::81 :::* LISTEN 32040/httpd.bin
I can see the site response when using:
$ curl -v http://127.0.0.1:81
$ vi /etc/hosts # The following lines are desirable for IPv4 capable hosts 127.0.0.1 magento-centos8-1 magento-centos8-1 127.0.0.1 localhost.localdomain localhost 127.0.0.1 localhost4.localdomain4 localhost4
When trying to
http://22.214.171.124:81 redirects me to
What am i missing?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×