Question

virtual host dont work correct(Ubuntu 13.10 x64)

Posted December 20, 2013 1.9k views
Hello I create virtual host like as ServerAdmin webmaster@localhost ServerName salamqadirzade.az ServerAlias www.salamqadirzade.az DocumentRoot /var/www/salamqadirzade Options FollowSymLinks AllowOverride None ... But rhis address http://salamqadirzade.az/ not work correct. View from the (/var/www) http://www.salamqadirzade.az/ work correct (/var/www/salamqadirzade) I have other domain, example oasis.az. It works ok with www and without www salamqadirzade is default domain for this server Can you help me?

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.

×
1 answer
by Etel Sverdlov
This tutorial shows you how to set up a new directory, how to grant the correct permissions, how to add content to a new page, how to turn on virtual hosting, and how to, if needed, set up local hosts. Virtual Hosts are used to run more than one domain off of a single IP address and allows you to run multiple sites off of a single DigitalOcean droplet. This tutorial describes how to set up virtual hosts with Apache.
Submit an Answer