Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Sub Domain set up problem
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 ERRNAMENOT_RESOLVED
Something wrong along the way, any ideas or suggests? thank you
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.×