192 reputation
1211
bio website
location London
age
visits member for 2 years, 6 months
seen Feb 25 at 21:52

Jul
2
awarded  Curious
Mar
10
awarded  Famous Question
Sep
4
awarded  Popular Question
Aug
25
awarded  Popular Question
May
16
awarded  Notable Question
Apr
21
accepted nginx: redirecting only 'www' subdomain to main domain?
Apr
21
comment nginx: redirecting only 'www' subdomain to main domain?
+1 Ahh the certificates were missing for the new www entry. :)) Thank you so much. You are a real pro. I have exchanged 12 emails with GoDaddy support and they had no clue. You are a real pro.
Apr
21
comment nginx: redirecting only 'www' subdomain to main domain?
It says: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful I have nginx version: nginx version: nginx/1.2.7
Apr
21
comment nginx: redirecting only 'www' subdomain to main domain?
many thanks. But the moment I add this part: the https://example.com doesn't work anymore. But when I remove it it works again. Why? server { listen 80; listen 443 ssl; server_name www.example.com; return 301 https://example.com$request_uri; }
Apr
21
revised nginx: redirecting only 'www' subdomain to main domain?
edited title
Apr
21
comment nginx: redirecting only 'www' subdomain to main domain?
Thanks for your reply. In fact I would like to forward only www.mydomain.com to --> mydomain.com. I don't wish to forward all subdomains. You know what I mean? So you suggest to create an A-record with www to my IP? Or a C-name with www to my IP? I have that nginx setting already the way you have described it.
Apr
20
revised nginx: redirecting only 'www' subdomain to main domain?
added 179 characters in body; edited title
Apr
19
comment nginx: redirecting only 'www' subdomain to main domain?
thanks for the tip. I changed that but the actual problem remains. I recon the forwarding of a subdomain falls into Godaddy's responsibility and not my nginx, is that right?
Apr
19
revised nginx: redirecting only 'www' subdomain to main domain?
added 86 characters in body
Apr
19
asked nginx: redirecting only 'www' subdomain to main domain?
Apr
1
awarded  Tumbleweed
Mar
15
awarded  Popular Question
Dec
21
awarded  Notable Question
Dec
5
accepted How to install php-xml and php-mbstring on PHP 5.4.9-4?
Dec
5
comment How to install php-xml and php-mbstring on PHP 5.4.9-4?
thanks a lot mate :)