Issue
I'm newbie to Ubuntu. Installed LAMP. Have several questions about it
1) let's say first websites dir looks like : var/www/first/ and second ones: var/www/second. How can i set up multiple website, and use them with seperate ports (like http://localhost:81/ and http://localhost:82/ ) as on IIS?
2) How can i change default location of webserver (default is var/www) or exact website?
Thx in advance
Solution
1) Create virtual hosts in your apache configuration. On my install of Ubuntu (which is older), the configuration file is /etc/apache2/sites-enabled/000-default.
2) In the configuration file mentioned in 1, you can change the DocumentRoot of the default site.
Answered By - Kaleb Brasee
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.