I add domain using ampps panel add 127.0.0.1 domainname in host file.i able to access locally to domain.but whenever i access from external ip to my vps its showing www/root folder.what is cause for that?
am i need to change any dns setting in domain panel?
Here is my vhost file details
Code #### consumerproduct.club VirtualHost ####
<VirtualHost consumerproduct.club:80>
<Directory "c:/ampps/www/consumerproduct.club">
Options FollowSymLinks Indexes
AllowOverride All
Order deny,allow
allow from All
</Directory>
ServerName consumerproduct.club
ServerAlias consumerproduct.club
ScriptAlias /cgi-bin/ "c:/ampps/www/consumerproduct.club/cgi-bin/"
DocumentRoot "c:/ampps/www/consumerproduct.club"
ErrorLog "C:/Ampps/apache/logs/consumerproduct.club.err"
CustomLog "C:/Ampps/apache/logs/consumerproduct.club.log" combined
</VirtualHost>
|