I am trying to add subdomain on my primary domain. My primary domain is example.com On primary Domain Laravel APP is deployed. Now i am trying to deploy my codeigniter APP on the subdomain. Here is my domain setting http://prntscr.com/l0r8rm. Here is my virtual host config file "000-default.conf " which is enabled. http://prntscr.com/l0r9er 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” http://prntscr.com/l0rbty
Please help me to solve this problem.
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!
You need to create an A record for accounting.example.com, not an NS record, which is short for Name Server.
Cheers
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.