On subdomain "This site can’t be reached"

I am trying to add subdomain on my primary domain. My primary domain is On primary Domain Laravel APP is deployed. Now i am trying to deploy my codeigniter APP on the subdomain. Here is my domain setting Here is my virtual host config file "000-default.conf " which is enabled. After these setting i restart the apache server with command ‘sudo service apache2 restart’ Laravel APP Deployed folder is “var/www/html/rls” Codeigniter APP Deployed folder is “var/www/html/accounting”

Laravel APP is working fine. No issue in it but when i try to access Codeigniter app i am getting this error “This site can’t be reached”

Please help me to solve this problem.


Yes i tried different browsers, devices and networks but none of them work. I followed all the steps digitalocean provide but not working.

Did you try accessing the above URL from a different browser/device/network?

Submit an 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.

You need to create an A record for, not an NS record, which is short for Name Server.