[Ilugc] More than one Virtual Host setup's

  • From: suresh1876@xxxxxxxxx (Suresh Kumar)
  • Date: Tue, 5 Jul 2011 09:12:06 +0530

On Sat, Jul 2, 2011 at 5:40 PM, Arun Khan <knura9 at gmail.com> wrote:

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

.....................

 i have created a vhost.conf in the path /etc/httpd/conf.d/vhost.conf.
 here is the contents...

.....................

"isinfotech.com", "cefpress.com" and "bobstores.com"   are legitimate
active domains.  Unless you or the company you work for, has been
contracted to do work for the owners of the said domains,   you should
avoid them.  Instead "example.{org,com,net}  can be used for such
purposes.

  okay arun, shall follow the same from next time onwards..


 > 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 believe you need to define a **default**  virtual host which is missing -
see:
<http://httpd.apache.org/docs/2.0/vhosts/examples.html>
<
http://serverfault.com/questions/82306/apache-default-catch-all-virtual-host



 will check back and let you know...if still the problem exists

 --


-- 
~ J Suresh Kumar
  95000 90432
http://myrakshana.info/blog/

Other related posts: