Tuesday, August 30, 2022

[SOLVED] Point domain to wordpress folder in ec2 amazon centos

Issue

I have my site hosted at http://52.68.178.242/

I have registered domain gabifrc.org from aws I'm using httpd24 on crentos

I have set following configurations in /etc/httpd/conf/httpd.conf file. It seems to change the DocumentRoot but doamin is not in use. How can i point it to the doamin.

<VirtualHost *:80>
     ServerAdmin [email protected]
     DocumentRoot /var/www/html/gabifrc
     ServerName www.gabifrc.org
     ServerAlias gabifrc.org
     ErrorLog /var/www/html/gabifrc/error.log
</VirtualHost>

Solution

The problem was with aws route s5, where i allocated nameserver with the ip and worked like a charm.



Answered By - JyotiChhetri
Answer Checked By - Cary Denson (WPSolving Admin)