Hit the url "www.example.com" and it always return the router's home geteway page back. I forwarded port 80 to my local server IP address. Googling didn't help much so please kindly help me with this!
Host Points to CName www @ A @ my public IP address
Created example.com.conf file for Apache, configured as:
<VirtualHost *:80> DocumentRoot /var/www/example.com/ ServerName example.com ServerAlias www.example.com </VirtualHost>
Edited the file /etc/hosts
Created a text file under /var/www/example.com/test.txt, hit url http://www.example.com/test.txt and it responds with my router' home gateway page. Any suggestions would be great, thanks!!