Problem with wildcard of domain in nginx and in https

Steve Wilson lists-nginx at swsystem.co.uk
Wed Jan 14 10:42:41 UTC 2015


On 14/01/2015 10:30, ramsoft75 wrote:
> Isn't this ?
> 
>> server {
>> listen 443 ssl spdy;
>> 
>> server_name domain.com;
>> 
>> ...
>> }
> 
> With that configuration if a go https://domains.com it gives me a error
> "webpage not avaiable"
> 

I'm guessing the above is a typo in the mail and that you're not 
actually trying domainS.com with domain.com configured.

Does domain.com resolve the same as www.domain.com?

When you ping domain.com does it return the same IP as when pinging 
www.domain.com, the ping actually working doesn't matter this it testing 
that both resolve correctly.

Steve.



More information about the nginx mailing list