Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 36029

No-www refers to questions regarding the usage of domains without the A record www in front of the domain; topics may include questions regarding the removal of www, virtual host configuration, or the redirection process.

3 votes
Accepted

Why in the modern world I would need my .com website to also have www subdomain?

This answer contains my comment and then @dan's comment. Both show two different thoughts on the subject. Combined, they make a good answer. Any other points are certainly welcome. The value of www i …
closetnoc's user avatar
  • 32.9k
1 vote

How to handle www and non-www?

It is a nicety that both www and non-www forms of a site exist. However, it is better for search that this does not happen. It is better that one 301 redirect to the other. The reason for this is si …
closetnoc's user avatar
  • 32.9k
2 votes
Accepted

Need help getting 'www' working for domains and subdomains using Apache & DNS

Your DNS example is missing a few elements. Here is how I would set things up. example.com A 10.0.11.101 www CNAME example.com sub-domain CNAME example.com www.sub-domain CNAME example.com If all a …
closetnoc's user avatar
  • 32.9k
2 votes

.htaccess rewrite rules not working

Try: RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC] RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301] This should work. Here is mine: RewriteCond %{HTTP_HOST} ^example\.com$ [NC] Rewrite …
closetnoc's user avatar
  • 32.9k
1 vote
Accepted

Redirect https://example.com naked to https://www.example.com

Try something like this: <VirtualHost *:80> ServerName example.com ServerAlias www.example.com DocumentRoot "/path/to/port/80/site" </VirtualHost> <VirtualHost *:443> ServerName exam …
closetnoc's user avatar
  • 32.9k