GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   http://bla.com compared to http://www.bla.com (https://gfy.com/showthread.php?t=132358)

Juicy D. Links 05-08-2003 10:48 PM

http://bla.com compared to http://www.bla.com
 
What do i gotta do to configure with and without the www in front

criss_de_tabarnac 05-08-2003 10:49 PM

are you so lazy to not write the 3 ws???

Juicy D. Links 05-08-2003 10:51 PM

Quote:

Originally posted by criss_de_tabarnac
are you so lazy to not write the 3 ws???

Server side i mean

pornJester 05-08-2003 10:53 PM

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

Juicy D. Links 05-08-2003 11:01 PM

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}

pornJester 05-08-2003 11:09 PM

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