Report this

What is the reason for this report?

Sub Domain set up problem

Posted on September 17, 2015

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>
  1. then I run a2ensite api.conf

  2. 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.