Mobile app version of vmapp.org
Login or Join
Berumen354

: How to forward a "domain.com" to "www.domain.com"? I am using GoDaddy for my domains. Lately I've noticed that none of my domain.com addresses are mapping to the server correctly. I used "Forward"

@Berumen354

Posted in: #DomainForwarding #Domains #Url

I am using GoDaddy for my domains. Lately I've noticed that none of my domain.com addresses are mapping to the server correctly. I used "Forward" option from Domain Manager and forwarded it to domain.com, but it still is not working after a week.

I don't have access to the server, so I can't use redirecting or URL rewriting. What else can I do about this problem?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Berumen354

3 Comments

Sorted by latest first Latest Oldest Best

 

@Rambettina238

Why is .www deprecated?


In order to answer this question, we
must first recall the definition of
WWW:

World Wide Web: n. Abbr. WWW

1) The complete set of documents
residing on all Internet servers that
use the HTTP protocol, accessible to
users via a simple point-and-click
system.

2) n : a collection of internet sites
that offer text and graphics and sound
and animation resources through the
hypertext transfer protocol. By
default, all popular Web browsers
assume the HTTP protocol. In doing so,
the software prepends the 'http://'
onto the requested URL and
automatically connect to the HTTP
server on port 80. Why then do many
servers require their websites to
communicate through the www subdomain?
Mail servers do not require you to
send emails to
recipient@mail.domain.com. Likewise,
web servers should allow access to
their pages though the main domain
unless a particular subdomain is
required.

Succinctly, use of the www subdomain
is redundant and time consuming to
communicate. The internet, media, and
society are all better off without it.

Using the links at the top of the
page, you may view recently validated
domains as well as submit domains for
real-time validation.


Taken from no-www.org

10% popularity Vote Up Vote Down


 

@Frith620

This is a DNS record issue.

Make sure that you have a DNS A record called domain.com, and that it's pointing at your server. A lot of the time, people only have the domain.com. A record believing you have to put before all domain names. However, people like myself never bother typing , so we end up putting "domain.com".

10% popularity Vote Up Vote Down


 

@Kaufman445

There you go:

RewriteCond %{HTTP_HOST} !^www.yoursite.com [NC]
RewriteRule ^(.*)$ www.yoursite.com/ [R=301,L]


Put that in your .htaccess file.
Also, if you don't have a line which states "RewriteEngine On" in your .htaccess, make sure you put one like that:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.yoursite.com [NC]
RewriteRule ^(.*)$ www.yoursite.com/ [R=301,L]

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme