Koozali.org: home of the SME Server

Website access problem

skm

Website access problem
« on: March 23, 2007, 04:33:44 AM »
I setup a SME 7.0 server for mail & website that I can't access "http" but only "https" for the website.

Where can I change the setting for both (http or https) access?

Thanks.

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Website access problem
« Reply #1 on: March 23, 2007, 08:30:21 AM »
You should start by telling us where you put/installed your website.
Did you install a contrib or it doesn't work from an ibay?
"It should just work" if it doesn't report it. Thanks!

skm

Website access problem
« Reply #2 on: March 23, 2007, 10:38:50 AM »
Quote from: "bpivk"
You should start by telling us where you put/installed your website.
Did you install a contrib or it doesn't work from an ibay?

I put the web site in the default web site folder only.
 (/home/e-smith/files/ibay/Primary/html/ )

And I never install any contrib in the server.

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
Website access problem
« Reply #3 on: March 23, 2007, 10:55:29 AM »
Then report this to the bugtracker if you didn't install any contribs and it's installed in an ibay.
"It should just work" if it doesn't report it. Thanks!

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Website access problem
« Reply #4 on: March 23, 2007, 11:29:32 AM »
Quote from: "skm"
I setup a SME 7.0 server for mail & website that I can't access "http" but only "https" for the website.

Where can I change the setting for both (http or https) access?

Thanks.


How are you accessing your website. From the 'net with a domain name or from the lan with a IP address?

If https and http both work with a lan ip and https only works with a 'net domain then port 80 could be blocked by your ISP.
Regards,
William

IF I give advise.. It's only if it was me....

skm

Re: Website access problem
« Reply #5 on: March 23, 2007, 11:37:26 AM »
Quote from: "william_syd"
Quote from: "skm"
I setup a SME 7.0 server for mail & website that I can't access "http" but only "https" for the website.

Where can I change the setting for both (http or https) access?

Thanks.


How are you accessing your website. From the 'net with a domain name or from the lan with a IP address?

If https and http both work with a lan ip and https only works with a 'net domain then port 80 could be blocked by your ISP.


Both internal damain & Lan IP are only access by "https".

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Website access problem
« Reply #6 on: March 23, 2007, 12:10:55 PM »
Quote from: "skm"
Quote from: "william_syd"
Quote from: "skm"
I setup a SME 7.0 server for mail & website that I can't access "http" but only "https" for the website.

Where can I change the setting for both (http or https) access?

Thanks.


How are you accessing your website. From the 'net with a domain name or from the lan with a IP address?

If https and http both work with a lan ip and https only works with a 'net domain then port 80 could be blocked by your ISP.


Both internal damain & Lan IP are only access by "https".


Both /server-manager and /webmail do normally redirect to https.

However, out of the box, any other address should be both https and http. Do you have a .htaccess file in your website? What do you see when you try http ?

Yes, do take it to the bug tracker.
Regards,
William

IF I give advise.. It's only if it was me....

skm

Re: Website access problem
« Reply #7 on: March 23, 2007, 04:31:45 PM »
Quote from: "william_syd"
Quote from: "skm"
Quote from: "william_syd"
Quote from: "skm"
I setup a SME 7.0 server for mail & website that I can't access "http" but only "https" for the website.

Where can I change the setting for both (http or https) access?

Thanks.


How are you accessing your website. From the 'net with a domain name or from the lan with a IP address?

If https and http both work with a lan ip and https only works with a 'net domain then port 80 could be blocked by your ISP.


Both internal damain & Lan IP are only access by "https".


Both /server-manager and /webmail do normally redirect to https.

However, out of the box, any other address should be both https and http. Do you have a .htaccess file in your website? What do you see when you try http ?


Yes, do take it to the bug tracker.

I don't have a ".htaccess" file in my website.
I input "https://www.domainname.com " that it's ok,
but when I input "http://www.domainname.com " that it shows :
==========================================
Did you mean: "www.domainname.com"  

No standard web pages containing all your search terms were found.
Your search - "www.domainname.com" - did not match any documents.

Suggestions:
Make sure all words are spelled correctly.
Try different keywords.
Try more general keywords.
===========================================

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Website access problem
« Reply #8 on: March 23, 2007, 05:11:24 PM »
Quote from: "skm"
I setup a SME 7.0 server for mail & website that I can't access "http" but only "https" for the website.

Where can I change the setting for both (http or https) access?


You might need to change your ISP for that. Many ISPs block port 80 access.

skm

Re: Website access problem
« Reply #9 on: March 24, 2007, 05:53:11 AM »
Quote from: "CharlieBrady"
Quote from: "skm"
I setup a SME 7.0 server for mail & website that I can't access "http" but only "https" for the website.

Where can I change the setting for both (http or https) access?


You might need to change your ISP for that. Many ISPs block port 80 access.

It's not the ISP problem, because I had the other Win2K IIS  Web server on the same network and work fine.

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Website access problem
« Reply #10 on: March 24, 2007, 07:49:33 PM »
Quote from: "skm"
No standard web pages containing all your search terms were found.
Your search - "www.domainname.com" - did not match any documents.


This is not a normal return value from Internet Explorer or Firefox if you have indeed entered a complete URL (including the "http://").

When you *don't* enter a complete and valid URL your browser tries to do an auto search for the string you entered - in this case the error message is claiming that you entered "www.domainname.com" and NOT "http://www.domainname.com".   I've seen this sort of behavior in computers infected with some sort of DNS hijacking software ("New dot net" was a great one for doing this).

Alternatively, SME by default is trying to proxy your Internet connections, so that whatever you enter needs to be resolvable by the SME server itself as well as your workstation.  For example, if the http proxy is anabled, and I use a VPN to connect my workstation to a client's network, then try to access a website on the client's internal network, I get an error from Squid saying that the website can't be found.  In your case, this would only apply if the value returned by "nslookup www.domainname.com" on your workstation is different from what is returned by the same command in a command shell on the SME server itself.

Finally, what happens if you browse from a workstation on the LAN to http://192.168.x.y (using the LAN IP of your SME box)?

skm

Website access problem
« Reply #11 on: March 27, 2007, 04:06:22 AM »
Quote from: "mmccarn"
Quote from: "skm"
No standard web pages containing all your search terms were found.
Your search - "www.domainname.com" - did not match any documents.


This is not a normal return value from Internet Explorer or Firefox if you have indeed entered a complete URL (including the "http://").

When you *don't* enter a complete and valid URL your browser tries to do an auto search for the string you entered - in this case the error message is claiming that you entered "www.domainname.com" and NOT "http://www.domainname.com".   I've seen this sort of behavior in computers infected with some sort of DNS hijacking software ("New dot net" was a great one for doing this).

Alternatively, SME by default is trying to proxy your Internet connections, so that whatever you enter needs to be resolvable by the SME server itself as well as your workstation.  For example, if the http proxy is anabled, and I use a VPN to connect my workstation to a client's network, then try to access a website on the client's internal network, I get an error from Squid saying that the website can't be found.  In your case, this would only apply if the value returned by "nslookup www.domainname.com" on your workstation is different from what is returned by the same command in a command shell on the SME server itself.

Finally, what happens if you browse from a workstation on the LAN to http://192.168.x.y (using the LAN IP of your SME box)?


The "www.domainname.com" only an example. I sured that I'd input a valid link for it and it returned the similar result.

However, same result was returned when I input the Lan ip such as "http://192.168.0.xxx", but it is ok for "https://192.168.0.xxx".