subfolder is not resolved without force typing https

I have set up the subdomain reg.example.com on a dedicated windows server 2019 (not the same server as example.com). The main url works when I don’t type https (I simply enter reg.example.com in address bar and it is being redirected to https due to web.config settings). But when I call a subfolder without https e.g reg.example.com/exam the server is not responding. If I force https manually and type https://reg.example.com/exam with https it works!

Conditions:

  • the reg.example.com is the default website on IIS.

  • website bindings is set on port 80 for http and port 443 for https and assigned the propper SSL to https.

  • I have tried checking and unchecking "Require server name indication" when assigning the ssl but no change.

  • There is A record for reg.example.com on DNS server pointing to the server IP.

  • Browsers redirect from http to https but the curl command for main doman (even without subfolders) curl --head http://reg.example.com/ says: curl: (7) Failed to connect to reg.example.com port 80: Connection refused

  • these are the codes used in web.config to redirect requests to https: and remove default document from urls:

    <rule name="RemoveWWW" patternSyntax="Wildcard" stopProcessing="true">     <match url="*" />     <conditions logicalGrouping="MatchAll">         <add input="{HTTP_HOST}" pattern="www.reg.example.com" />     </conditions>      <action type="Redirect" url="https://reg.example.com/{R:0}" redirectType="Permanent" /> </rule>    <rule name="RemoveDefaultDocument" stopProcessing="true">      <match url="(.*?)/?index\.asp$  " />      <conditions>          <add input="{HTTP_HOST}" pattern="localhost" negate="true" />      </conditions>      <action type="Redirect" url="{R:1}/" redirectType="Permanent" />  </rule>   <rule name="HTTPS" enabled="true" patternSyntax="Wildcard" stopProcessing="true">      <match url="*" negate="false" />      <conditions logicalGrouping="MatchAll">          <add input="{HTTPS}" pattern="off" />          <add input="{HTTP_HOST}" pattern="localhost" negate="true" />      </conditions>      <action type="Redirect" url="https://reg.example.com/{R:0}" redirectType="Permanent" />  </rule> 

and finally this is the error I receive after 2-3 minutes:

This site can’t be reached reg.example.com refused to connect.

Azure CDN from Verizon Premium HTTP to HTTPS redirect

I have created an Azure CDN endpoint (like example.azureedge.net) using Verizon Premium Pricing Tier.

I want to create a rule to redirect to the HTTPS protocol (like https://example.azureedge.net) whenever a user uses the HTTP protocol (like http://example.azureedge.net).

How can I achieve this using the rules engine of Azure CDN from Verizon Premium?

Menu links only using http after enabling https, unable to redirect http links

I have a WordPress website on a Bluehost shared hosting server and since I have multiple websites in my space, I have this particular folder in its own folder under public_html. This means that I have an .htaccess file in public_html, which redirects my domain to the specific website folder. I also have another .htaccess file in the website folder, which has some WordPress settings and a redirect for non-www URLs. I’ve tried adding this http -> https rule in both .htaccess files, but it has no effect:

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^marioparra\.me [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$   https://www.marioparra.me/$  1 [R,L] </IfModule> 

I’m also having related issues with menu links in WordPress. Even though my WP and site addresses contain https, my menu links are rendering with http. This happens if I use a custom link with just the anchor ID or full URL. Could anything in the .htaccess file be interfering? Why would my http -> https rule be ignored?

Sitemap urlset http or https [duplicate]

I am a Static User I write my all pages and sitemap with pure html css code, I have a question that in sitemap I am using http xmlns in order to make my sitemaps so is it allowed to add https or http is better that’s why all are using it.

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> 

So in the above I would like to ask that is it allowed to use https xmlns?

Should I remove HTTP to HTTPS redirects to fix performance problems reported by Google Pagespeed Insights?

I have created a brand new website in which I publish various computing services I suggest to potential customers.

As far as I know, no other website on the World Wide Web links to that website and today in nearly mid 2021 when people create backinks, they normally just make them "example.com" (no http:// or https:// and no www.).

After testing the website in Google Pagespeed Insights I got only one error about slow loading times due to the specific reason of four redirects:

http://example.com | 630 ms https://example.com | 480 ms http://www.example.com | 630 ms https://www.example.com | 480 ms 

While I need the www. for a CDN to protect from possible DDoS attacks and using HTTPS as a web standard, principally I would never create non HTTPS backlinks to my website and don’t worry from anyone on the planet doing that.

Given the current HTTPS culture and my site being currently backlinkless, should I remove HTTP to HTTPS redirects to fix performance problems reported by Google Pagespeed Insights?

Update — current .htaccess redirection directives

RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$   http://www.%{HTTP_HOST}/$  1 [R=301,L] 

Google Domains won’t redirect `http` to `https` when Bluehost handles the DNS and website

I have a website hosted on bluehost, but using a domain from Google domains. I am trying to force it to always redirect http://example.io -> https://example.io from the google domains site.

However, when I add the redirect, I get the following error:

This synthetic record has an error and will not function correctly: We had a temporary issue creating your SSL certificate. We will automatically keep trying to resolve this issue. 

enter image description here

We have it setup to redirect permanently using SSL: enter image description here

We are using bluehost name servers. Are we missing something here?

Oracle 19c express manager not loading, listener will not register https port after exec dbms_xdb_config.gethttpsport()

We just set up a new oracle 19c install on a VM Windows Server 2020. I have been struggling trying to get the Express Manager working. At the end of the installation Oracle notified me that I can access the Express Manager at https://%localhost%:5500/em But upon visiting the website in chrome the connection is refused. I disabled the firewall and receive the same message. I went through the oracle documentation and ensured that dbms_xdb_config.gethttpsport() outputs 5500.

After running lsnrctl status I noticed that under listeners I am missing port 5500. I searched other users with the same issue they all have an entry for port 5500 like the following.

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=HOSTNAME.domain)(PORT=5500))(Security=(my_wallet_directory=C:\ORACLE\admin\ecoomdb\xdb_wallet))(Presentation=HTTP)(Session=RAW))     Services Summary...  

According to Oracle documentation when I run the command dbms_xdb_config.gethttpsport(5500) the listener should register the port. But after running the command muliple times this is not happening.