![]() |
http://bla.com compared to http://www.bla.com
What do i gotta do to configure with and without the www in front
|
are you so lazy to not write the 3 ws???
|
Quote:
Server side i mean |
httpd.conf file
[VirtualHost your.ip] ServerAdmin [email protected] DocumentRoot /home/httpd/www/path/to/domain ServerName domain.com ServerAlias www.domain.com RefererLog /home/httpd/logs/referer-domain.com TransferLog /home/httpd/logs/access-domain.com [/VirtualHost] replace ['s with <'s fix the paths to match your server --that should work, that's how i had it setup on my old server |
i had this in it
{VirtualHost 64.xx.xx.xx} ServerAlias www.xx.com xx.com ServerAdmin [email protected] DocumentRoot /usr/home/xx/public_html User xx Group xx ServerName www.xx.com CustomLog domlogs/xx.com combined ScriptAlias /cgi-bin/ /usr/home/xx/public_html/cgi-bin/ {/VirtualHost} |
ther ServerName and ServerAlias should be the two that do what you are trying to accomplish
change ServerName to xx.com ..and make ServerAlias just www.xx.com |
All times are GMT -7. The time now is 04:17 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123