Hi,
I bought a domain (marketmile.app) from godaddy and I configured it to point to Cloudflare through its nameservers. Then I configured Cloudflare adding the A record (which points manually to my home server IP) and added the vhost configuration in apache.
By the way
My host is a local computer with XAMPP (Apache version 2.4).
Using No-Ip the site works as you can see here;
No-Ip link
but If I use the domain
marketmile.app
it does not. Both http://mileapp.servehttp.com & http://marketmile.app point to the same IP.
In vhosts in apache I have this;
<VirtualHost *>
DocumentRoot "C:\XAMPP\htdocs"
ServerName localhost
<Directory "C:\XAMPP\htdocs">
Require local
</Directory>
</VirtualHost>
<VirtualHost *>
DocumentRoot "C:\xampp\htdocs\marketmileapp"
ServerName mileapp.servehttp.com
ServerAlias www.mileapp.servehttp.com
<Directory "C:\xampp\htdocs\marketmileapp">
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *>
DocumentRoot "C:\xampp\htdocs\marketmileapp"
ServerName marketmile.app
ServerAlias www.marketmile.app
<Directory "C:\xampp\htdocs\marketmileapp">
Require all granted
</Directory>
</VirtualHost>
My question is…What I’m doing wrong. Why if the domain through Cloudflare and the No-Ip point to the same IP, only the No-Ip Works…
Thanks for reading this.