hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : WildCard don`t work good.
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

WildCard don`t work good.

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 03-03-2006, 04:20 PM
xprotect xprotect is offline
Newbie
 
Join Date: Feb 2006
Posts: 29

WildCard don`t work good.


I have WildCard on my server. It work greate. But main page work only with www.domain.com not domain.com (domain.com returns default Apache page).
It`s config. for this user:
Code:
<VirtualHost 0.0.0.0:80>


	ServerName www.domain.com
	ServerAlias www.*.domain.com *.domain.com
	ServerAdmin webmaster@domain.com
	DocumentRoot /home/USER/domains/domain.com/public_html
	ScriptAlias /cgi-bin/ /home/USER/domains/domain.com/public_html/cgi-bin/

	UseCanonicalName OFF

	SuexecUserGroup LOGIN LOGIN
	CustomLog /var/log/httpd/domains/domain.com.bytes bytes
	CustomLog /var/log/httpd/domains/domain.com.log combined
	ErrorLog /var/log/httpd/domains/domain.com.error.log

	<Directory /home/USER/domains/domain.com/public_html>
		Options +Includes -Indexes
		php_admin_flag engine ON
		php_admin_flag safe_mode ON
		php_admin_value sendmail_path '/usr/sbin/sendmail -t -i -f marcin@domain.com'
	</Directory>



	#php_admin_value open_basedir /home/LOGIN/:/tmp/:/var/www/:/usr/local/lib/php/:/etc/virtual/

</VirtualHost>

Reply With Quote


Sponsored Links
  #2  
Old 04-01-2006, 03:19 PM
ServerNinja ServerNinja is offline
LORD OF THE RINGS
 
Join Date: Dec 2005
Location: Internet
Posts: 1,317
Hello,

Just a suggestion, can you try editing the ServerAlias line to the below:

ServerAlias domainname *.domainname

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Web Host Site5 Teams Up with Comodo to Resell SSL Certificates Web Hosting News 2013-04-11 14:41:24
Tumblr Becomes Tenth Largest Web Host in Netcraft November Web Server Survey Web Hosting News 2012-11-09 09:23:04
Netcraft Continues to See a Drop in Responses for July 2012 Web Survey Web Hosting News 2012-07-03 14:35:26
Web Host DreamHost Volunteers with Education Non-Profit City Year Web Hosting News 2012-02-24 14:26:45
Web Hosting Sales and Promos Roundup - December 9, 2011 Web Hosting News 2011-12-09 21:20:03


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?