http does not work, but https works!
http does not work, but https works!
Hi:
I created a domain with ssl enabled. While accessed to the http port, http://domain.tld, it shows up default.domain page whereas https://domain.tld shows up the relevant page of the domain. How does the http://domain.tld shows up domain.tld page instead of the default.domain page? Thanks!
I created a domain with ssl enabled. While accessed to the http port, http://domain.tld, it shows up default.domain page whereas https://domain.tld shows up the relevant page of the domain. How does the http://domain.tld shows up domain.tld page instead of the default.domain page? Thanks!
Re: http does not work, but https works!
A few questions when setting up this domain what did you set for the following options:gtzen wrote:Hi:
I created a domain with ssl enabled. While accessed to the http port, http://domain.tld, it shows up default.domain page whereas https://domain.tld shows up the relevant page of the domain. How does the http://domain.tld shows up domain.tld page instead of the default.domain page? Thanks!
Apache Template
Ngix Template
And once you checked SSL support what did you set the following to:
SSL Home
Re: http does not work, but https works!
1.jhewit wrote:A few questions when setting up this domain what did you set for the following options:gtzen wrote:Hi:
I created a domain with ssl enabled. While accessed to the http port, http://domain.tld, it shows up default.domain page whereas https://domain.tld shows up the relevant page of the domain. How does the http://domain.tld shows up domain.tld page instead of the default.domain page? Thanks!
Apache Template
Ngix Template
And once you checked SSL support what did you set the following to:
SSL Home
Apache Template >> Default
Nginx Template >> Default
SSL Home >> public_shtml
I created two domains with SSL enabled with two different site certificates, but both seems to point to the same domain even in ssl mode (https)!
2. I also enabled webstatistics >> webalizer as well as awstats alternatively, but getting a 404 error page at http(s)://domain.tld/(v)stats/ () means alternatives tried.
Re: http does not work, but https works!
Because you set SSL Home to public_shtml here is whats happening:gtzen wrote:1.jhewit wrote:A few questions when setting up this domain what did you set for the following options:gtzen wrote:Hi:
I created a domain with ssl enabled. While accessed to the http port, http://domain.tld, it shows up default.domain page whereas https://domain.tld shows up the relevant page of the domain. How does the http://domain.tld shows up domain.tld page instead of the default.domain page? Thanks!
Apache Template
Ngix Template
And once you checked SSL support what did you set the following to:
SSL Home
Apache Template >> Default
Nginx Template >> Default
SSL Home >> public_shtml
I created two domains with SSL enabled with two different site certificates, but both seems to point to the same domain even in ssl mode (https)!
2. I also enabled webstatistics >> webalizer as well as awstats alternatively, but getting a 404 error page at http(s)://domain.tld/(v)stats/ () means alternatives tried.
When accessing using https:// files will be pulled from public_shtml
When accessing using http:// files will be pulled from public_html
If you change SSL Home to public_html they will both pull from public_html.
Re: http does not work, but https works!
Like I stated earlier, when I assigned to public_html, the ssl connection resulted an error page whereas the non-ssl (http) results the defaut.domain's index page instead of the newly-created site. So both ways it was a no go.
BTW, what are these Apache and Nginix Templates signify viz. default, hosting and so on?
@forumadmin: Please remove the limitation of embedding max 3 quotes in replies. I got "You may embed only 3 quotes within each other." Thanks!
BTW, what are these Apache and Nginix Templates signify viz. default, hosting and so on?
@forumadmin: Please remove the limitation of embedding max 3 quotes in replies. I got "You may embed only 3 quotes within each other." Thanks!
Re: http does not work, but https works!
Information about templates in a nutshell
Apache
default - no additional settings, works well for any site
basedir - to fight with phpshells using openbasedir directive
hosting - php limits for each domain (php_admin_value memory/safemode/etc)
phpcgi - tempalte to run php as cgi. can be useful to run php4 or php5.2
phpfcgid - to php as fcgi
wsgi - template to run python projects
Nginx
default - serves static content, works well for most sites
hosting - disable_symlinks directive to protect from symlink atacks
сaching - dynamic pages are cached for 15 min to handle spontaneous traffic aka reddit-effect
DNS
default - general dns records
gmail - predefined records to host mail on google app
child-ns - template for vanity name servers
Apache
default - no additional settings, works well for any site
basedir - to fight with phpshells using openbasedir directive
hosting - php limits for each domain (php_admin_value memory/safemode/etc)
phpcgi - tempalte to run php as cgi. can be useful to run php4 or php5.2
phpfcgid - to php as fcgi
wsgi - template to run python projects
Nginx
default - serves static content, works well for most sites
hosting - disable_symlinks directive to protect from symlink atacks
сaching - dynamic pages are cached for 15 min to handle spontaneous traffic aka reddit-effect
DNS
default - general dns records
gmail - predefined records to host mail on google app
child-ns - template for vanity name servers
Re: http does not work, but https works!
Try to change ssl home afterwards. Also make sure the ip address configured in the panel match the ip you get by pinging domain.
Re: http does not work, but https works!
Thanks for explicit explanation.skid wrote:Information about templates in a nutshell
Apache
default - no additional settings, works well for any site
basedir - to fight with phpshells using openbasedir directive
hosting - php limits for each domain (php_admin_value memory/safemode/etc)
phpcgi - tempalte to run php as cgi. can be useful to run php4 or php5.2
phpfcgid - to php as fcgi
wsgi - template to run python projects
Nginx
default - serves static content, works well for most sites
hosting - disable_symlinks directive to protect from symlink atacks
сaching - dynamic pages are cached for 15 min to handle spontaneous traffic aka reddit-effect
DNS
default - general dns records
gmail - predefined records to host mail on google app
child-ns - template for vanity name servers