Lightsail Configure Apache's HTTP_HOST

543 views Asked by At

I have an instance hosted using AWS Lightsail's LAMP stack. I also have a hostname on Godaddy.

$_SERVER['HTTP_HOST'] is returning 127.0.0.1:8000 where the application is running. Is there anyway to configure Apache so that this returns the hostname?

0

There are 0 answers