I haven't registered any domain for my server.
I might be wrong, but according to my understanding,
the default ip for the server is public.
my server ip is http://18.104.22.168/.
but whenever i ping on that domain, it keeps redirecting to the
Options Indexes FollowSymLinks MultiViews
allow from all
It seems there is error in processing .php file in apache. I have got same problem. change the ownership of the file. e.g. if the file name ins info.php
sudo chown nobody:nobody info.php sudo chmod 644 info.php
Let me know if this help
Also make sure to add .php in
sudo vim /etc/httpd/apache/conf AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml .php