I facing a problem to migrate the Magento site. My site works well with droplet IP but does not redirect domain in which I added DNS both Namecheap & digital ocean account also check whatsmydns.net I also updated /etc/apache2/sites-available/000-default.conf file with following VirtualHost using this guide:
<VirtualHost *:80> ServerAdmin example@email.com ServerName mydomain.com ServerAlias www.mydomain.com DocumentRoot /var/www/html/ ErrorLog ${APACHELOGDIR}/error.log CustomLog ${APACHELOGDIR}/access.log combined </VirtualHost>
But still no hope. I can not figure out what I am missing, or it’s just a technical problem with DigitalOcean or my Droplet.
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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hello, @aijazlondon
Keep in mind that DNS changes might take up some time in order to fully update. You can double-check that the DNS records are correct using our DNS Lookup
https://www.digitalocean.com/community/tools/dns
An example Virtual host block is:
The virtual host look fine, you can just check if the Apache server is running and listening on port 80 using netstat:
To check if Apache is running:
Regards, Alex