Questions tagged [www]
19 questions
15
votes
6 answers
to www or not to www
Possible Duplicate:
What’s the point in having "www" in a URL?
Should I use www in front of a URL or not? Some sites say we should and some say the opposite.
Pros
Cons
If there is no www is in front of the URL, what should I put in my .htaccess…
marc-andre menard
0
votes
1 answer
Redirect on WWW only to non www domain NGINX
I'm confused, does this additional server block will redirect ANY subdomain to https://example.com?
server {
server_name www.example.com
return 301 https://example.com$request_uri;
}
As far as I read it is bad practice…
Andrew
- 105
- 1
0
votes
1 answer
Nginx How to redirect HTTP non-www to HTTPS www with a single redirect?
I'm redirecting incoming HTTP traffic on port 80 to HTTPS on port 443. There, I'm redirecting non-www to www:
http://example.com -> https://example.com --> https://www.example.com
It seems google pagespeed insights counts this as "multiple…
geochanto
- 157
- 9
0
votes
3 answers
How do I point www.example.com to a.example.com?
I have a synthetic record set up pointing example.com to www.example.com and this works.
I also have a CNAME pointing a.example.com to a website that hosts my images, and this works.
I want www.example.com to redirect to a.example.com, while I build…
Ryan
- 109
- 1
0
votes
0 answers
nginx certificate name mismatch error with www redirect
I'm having issues with a site that has a Let's Encrypt cert for the naked domain example.com. There is a CNAME DNS entry that points www to the A record.
I want all www traffic to redirect to the non-www version and all non-:443 traffic to…
Chase
- 111
- 5
0
votes
0 answers
Apache HSTS with non-www to www 301 redirect
Just been setting up HSTS on an Apache vHost (it is a virtualmin box) and have that working, however I am experiencing strange behavior when trying to force a call to https www rather than it redirecting to the https non www.
If I call the http www…
tomstephens89
- 981
- 1
- 11
- 23
0
votes
0 answers
Two same pages www.example.com and www.example.com/index.php
Can someone help me how to fix this problem, seobility shows me that i have two same pages www.example.com and www.example.com/index.php
0
votes
0 answers
WordPress Multisite - Change Main Site from no-www to www
I've started issuing automated wildcard SSL-Certificates over the acme-dns-client.
While having an easy way to cover all of my subdomains together, I'm having the issue to not have, any coverage for my no-www domain.
Therefore I thought it could be…
MrLufus
- 1
- 2
0
votes
1 answer
What is a good practice when setting www vs. non-www server (apache)?
I have tried to configure a non-www website on Ubuntu 18.04 with Apache 2.4 and I've managed to make things work, my https://example.me works fine. But, www.example.me subdomain is also active (because I've added ServerAlias).
The…
c.mtd17
- 1
- 1
0
votes
0 answers
www page always returns 302
We are changing our company website, old wordpress website is on old server centos/apache with ip 10.10.10.20 and the new one has different ip 10.10.10.200. The deal was to just edit dns entries, as the new website should have the same domain. The…
c.mtd17
- 1
- 1
0
votes
1 answer
example.com to https://www.example.com | Apache
So I want to redirect example.com to https://www.example.com. I already have ssl with certbot but I want to change my redirect config in /etc/apache2/sites-available/example.conf.
Certbot already gives you a redirect from example.com to…
Thamognya Kodi
- 1
- 1
0
votes
0 answers
Redirected Too Many Times on Apache2
I'm using apache2 to host a website on Ubuntu Server. When I try to load the page from a browser, I get the "this page redirected you too many times" error. I don't have any duplicate files or anything that's redirecting the page. I don't have a…
0
votes
1 answer
My web-app works when visited without a www prefixed to its domain, but it returns a 522 error when visited with a www prefix
I am hosting a simple web-app on Cloudflare using pages and a basic DNS configuration for a custom domain name. For privacy sake, call it myapp. When I visit https://myapp.com the web-app works correctly, but when I visit https://www.myapp.com I am…
E. Scott
- 11
- 1
0
votes
1 answer
What is the recommended approach for mapping naked hosted domains through DDNS to www?
I am hosting a few domains on "mydomain.com". I have created a CNAME mapping for all subdomains (*) to my DDNS entry "[my_name].ddns.net". These are working great.
I cannot create a CNAME record for the apex and the A name record doesn't work…
Garet Jax
- 115
- 4
0
votes
1 answer
A generic way to redirect all non-www https traffic to www https in nginx
Is it possible to put a redirect in 1 single server block to redirect any https (port 443) that do not have www to https://www...? I don't want to have to put that redirect in every single server block for each specific domain.
I currently have…
CelestialEX
- 21
- 4