say I own this domain (domain.com), In order for laravel 5 to work, I need to configure AllowOverride all for sub domain as well.
1 . I create api.conf as following
<VirtualHost *:80>
ServerName api.domain.com
DocumentRoot /var/www/html/api/public
<Directory "/var/www/html/api/public">
AllowOverride all
</Directory>
</VirtualHost>
then I run a2ensite api.conf
service apache2 reload. However, When I type in api.domain.com, it display this This webpage is not available ERR_NAME_NOT_RESOLVED
Something wrong along the way, any ideas or suggests? thank you
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,
Have you made an A record (or cname) for the subdomain you would like to use? This error is shown when a hostname for example domain.com isn’t getting resolved by the DNS nameservers.
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.