By mindlasting
My setup and what i did so far, for DNS records i have set for A record mydomain.com and pointed to the ip address, for AAAA record same and CNAME www.mydomain.com, i’ve setup the virtual host – > <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName mydomain.com ServerAlias www.mydomain.com DocumentRoot /var/www/mydomain.com/public_html ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined </VirtualHost> enable it with a2ensite, created the root path in /var/www/mydomain.com/public_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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.