Results 1 to 8 of 8
-
08-27-2011, 01:09 PM #1Junior Guru Wannabe
- Join Date
- May 2007
- Posts
- 85
Apache 2 virtualhost issue (default page)
Hi guys,
I have installed apache 2.3 from scratch. I only made very minor changes but I can't have virtualhosts to work properly. It still redirects to the apache default page of CentOS.
Here is an output of /exras/httpd-vhost.conf
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot /home/excl/public_html
ServerName my-real-domain.com
ErrorLog "logs/dummy-host2.example.com-error_log"
CustomLog "logs/dummy-host2.example.com-access_log" common
</VirtualHost>
It doesn't show any permission errors or something like that when I open the domain, but its redirected to the default page. I tried different manipulations but with no luck.
I can share further configurations aspects if needed.
Thanks
-
08-27-2011, 01:29 PM #2Junior Guru Wannabe
- Join Date
- May 2007
- Posts
- 85
There is no problem with named just for sure.
-
08-27-2011, 01:56 PM #3Web Hosting Master
- Join Date
- Sep 2009
- Posts
- 1,976
Did you restart apache after the changes?
█LVPSHosting.com|Virtual Private Servers|Dedicated Servers|
█Managed Hosting Solution|24/7/365 Support
█Datacentar and servers location: Holland, Europe
-
08-27-2011, 01:58 PM #4Web Hosting Master
- Join Date
- Sep 2009
- Posts
- 1,976
Also, make sure that the "NameVirtualHost *:80" line is not commented in your httpd.conf file. And ofcourse if it is, uncomment it and restart apache again.
█LVPSHosting.com|Virtual Private Servers|Dedicated Servers|
█Managed Hosting Solution|24/7/365 Support
█Datacentar and servers location: Holland, Europe
-
08-27-2011, 02:04 PM #5Junior Guru Wannabe
- Join Date
- May 2007
- Posts
- 85
Yep, I did that. Unfortunately no luck..
thanks
-
08-27-2011, 03:16 PM #6Junior Guru Wannabe
- Join Date
- May 2007
- Posts
- 85
I found the problem, thanks
-
08-27-2011, 03:37 PM #7Junior Guru Wannabe
- Join Date
- Jun 2001
- Posts
- 72
-
08-27-2011, 04:11 PM #8Web Hosting Master
- Join Date
- Sep 2009
- Posts
- 1,976
What was it?
█LVPSHosting.com|Virtual Private Servers|Dedicated Servers|
█Managed Hosting Solution|24/7/365 Support
█Datacentar and servers location: Holland, Europe
Similar Threads
-
Apache Default Page
By jasonrusso in forum Hosting Security and TechnologyReplies: 2Last Post: 12-24-2007, 06:01 PM -
Apache 2.0 Issue with VirtualHost
By php4ever in forum Dedicated ServerReplies: 12Last Post: 06-01-2007, 09:39 PM -
Installed Apache and PHP Only Seeing Default Apache Page
By TweakAdmin in forum Hosting Security and TechnologyReplies: 6Last Post: 06-01-2007, 08:08 PM -
VirtualHost point to apache test page
By Serverplan in forum Hosting Security and TechnologyReplies: 7Last Post: 12-30-2003, 06:05 AM -
Default Apache Page
By DangerMouse in forum Dedicated ServerReplies: 11Last Post: 11-24-2002, 12:55 PM