Can't setup subdomain ( This site can’t be reached )

Posted January 1, 2020 2.5k views
ApacheInitial Server Setup

My setup and what i did so far, for DNS records i have set for A record and pointed to the ip address, for AAAA record same and CNAME, i’ve setup the virtual host – >
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
ErrorLog ${APACHE
CustomLog ${APACHE
LOGDIR}/access.log combined
enable it with a2ensite, created the root path in /var/www/
html, restart apache anddd This site can’t be reached, i’ve also added certbot for the main domain and the subdomain,…i need some help with this, for the main domain everything is working fine and i did the same steps for the subdomain.

edited by alexdo

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hello, @mindlasting

I can see that the site is now loading fine. Keep in mind that DNS changes might take up to 48 hours in order to propagate due to ISP cache. It usually happens a lot faster but you still need to wait for few hours.