Trying to host 2 or more domains in a single aws ec2 instance.
my configuration is:
host:
18.219.39.37 [my domain]
httpd.conf:
Listen 80
<Directory />
AllowOverride none
Require all granted
</Directory>
#
Virtual hosts
Include etc/extra/httpd-vhosts.conf
httpd-xampp.conf:
#
since XAMPP 1.4.3
AllowOverride AuthConfig Limit
Order allow,deny
Require all granted
Allow from all
httpd-vhosts.conf:
<VirtualHost *:80>
ServerAdmin webmaster@[IPv4 Public IP]
DocumentRoot "/opt/lampp/htdocs/rustikhaws/public_html/"
ServerName [IPv4 Public IP]
</VirtualHost>
This configuration gives me...
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
and I don't know what is lacking in my configuration.
Please help me. Thanks a lot!