![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jan 2006
Location: Southern Europe
Posts: 616
|
![]() I have a stupid question. What is the difference between http://www.something
and http://something (without www) I 'm confused on this topic One of my blogs sometimes appears www others not. I asked my host but they confused me more. Thanks boys |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Nov 2005
Location: ICQ - 703894
Posts: 1,949
|
Nothing, some people just type in the name, some type in www.
It's best to have only one way though. You can use things such as HTACCESS to move everyone from the www to just http, or the other way around
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Aug 2008
Posts: 559
|
it's different names but usually both of them configured together in apache domain aliases.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Aug 2008
Posts: 559
|
Starting the domain name name of your web site with w_w_w or www2 or www3 is a common convention and nothing more. There is nothing in the HTTP specification that says a web site must start with www or any other prefix. It is simply a convention that began in the early days of the web and was used to distinguish a company's web server from its FTP server, gopher server, mail server, et cetera. But no such distinction is necessary, because web servers respond on TCP port 80, which is distinct from port 25 (outgoing mail), port 110 (POP mail), port 21 (FTP control), et cetera. A single domain name can host all of these services, and a single physical computer may actually respond to many different domain names.
As a matter of common practice, most webmasters make sure their sites respond to both w_w_w_mycompanyname_com (I'm not allowed to post urls) and mycompanyname_com, because the former is the first guess many people will make, and the latter is both more convenient to type and easier to fit into an advertising logo. It is rare for a well-run web site to reject either name. Some web sites use www2., www3., www4., etc. as names for additional web servers that handle some of the traffic for the site. But it's strictly up to the webmaster and the person who handles DNS for the domain. These could just as easily be catnip.example.com, dirtnap.example.com or whatever else. To make domain.com goto w_w_w.domain_com, put this in your .htaccess file, located in public_html. Download and open in a text editor. Code:
Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^yoursite_com [NC] RewriteRule ^(.*)$ h_t_t_p://w_w_w_yoursite_com/$1 [L,R=301] |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Jan 2006
Location: Southern Europe
Posts: 616
|
Thanks guys. Thanks a lot.
|
![]() |
![]() ![]() ![]() ![]() |