[Ilugc] More than one Virtual Host setup's

  • From: mehul.n.ved@xxxxxxxxx (Mehul Ved)
  • Date: Fri, 1 Jul 2011 11:30:43 +0530

On Fri, Jul 1, 2011 at 10:04 AM, Suresh Kumar <suresh1876 at gmail.com> wrote:

but not able to view the sites which i create at /var/www/html/
?for example
?if create a new project at mobilesite at /var/www/html/mobilesite

and try to access it as http://localhost/mobilesite/

i get the following error ?- " The requested URL /mobilesite was not found
on this server. "

do i need add corresponding entry to the /etc/httpd/conf.d/vhost.conf and
/etc/hosts files.?

What is your DocumentRoot now? Also, check your apache error logs to
see what information it is giving.


-- 
With Regards,
Mehul Ved

Other related posts: