url https not showing correctly

Status
Not open for further replies.

webmaster.webhulp94

New Member
Messages
13
Reaction score
0
Points
1
Hello all,

I have a free webspace at x10.bz -> name.x10.bz

I also have a domain called domainname.ga and it's on that x10.bz server as addon domain.

Now I signed up for a Cloudflare https

When I want to go to my website domainname.ga the address bar shows
https://name.x10.bz/domainname.ga
So I want to get rid of the name.x10.bz in the url and just want https://domainname.ga

How can I do that? How can I fix that?

Kind regards
 

cjptomas80

Member
Messages
263
Reaction score
6
Points
18
i am not sure why is not working with you but it should work accessing directly http://domainname.ga .
Addon domain directory will place itself on your webroot (public_html) which is can be access by http://name.x10.bz.
There's no support for https protocol on x10hosting free service itself but with cloudflare flexible ssl it should.
It would be helpful if you can provided your real url as to know what it seem wrong since it is only community support available here. admins and staff on the other hand can assist you directly if they got time since they can access your hosting information available to them.
 

webmaster.webhulp94

New Member
Messages
13
Reaction score
0
Points
1
Thank you cjptomas80 for your reply.

My free website at x10.bz is -> https://webhulp.x10.bz

My addon domain is -> np-webdesign.ga but is a folder in the public_html of webhulp.x10.bz so not in the webroot /public_html as you can see in screenshot below
folder.jpg
As you can see folders images - Javascrips - popups -> belong to the website -> https://webhulp.x10.bz
and folder np-webdesign.ga is the addon domain

So when I write np-webdesign.ga in the address bar I get -> https://webhulp.x10.bz/np-webdesign.ga
and not https://np-webdesign.ga

That's the problem I want to fix

Kind regards
 

cjptomas80

Member
Messages
263
Reaction score
6
Points
18
Can you kindly check your crypto settings (SSL/TLS)Annotation 2019-03-25 014224.png on your cloudflare for your addon domain It must be flexibleAnnotation 2019-03-25 014308.png . Accessing via HTTPS Annotation 2019-03-25 013926.png seem not working at it should as i tried to access it. But http Annotation 2019-03-25 013926.png protocol had no problems.
In your case that url is changing seem you need to delete your cache of your browser.
 

Attachments

  • Annotation 2019-03-25 013936.png
    Annotation 2019-03-25 013936.png
    12.2 KB · Views: 2

webmaster.webhulp94

New Member
Messages
13
Reaction score
0
Points
1
Hello cjptomass80,

The crypto settings (SSL/TLS) was already set to "flexible" and I deleted the cache already several times.

What I did to get it to work on http so not https is … I added in the .htaccess file:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.np-webdesign.ga.bz$ [NC]
RewriteRule ^(.*)$ https://www.np-webdesign.ga/$1 [L,R=301]

That way https://webhulp.x10.bz/np-webdesign.ga became http://np-ebdessign.ga
but now it's not secure anymore -> http

What am I doing wrong?

Regards
 

cjptomas80

Member
Messages
263
Reaction score
6
Points
18
I am late for reply sorry.

Just for clarification, your http://np-ebdessign.ga and https://webhulp.x10.bz are different site? And for your http://np-ebdessign.ga you wanted to try always in secure connection?

Try to add this on .htaccess on root directory of http://np-ebdessign.ga

<IfModule mod_rewrite.c>
RewriteEngine On

# non www to https://www...
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

# non https to http
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>

By the way you can test your .httaccess here https://htaccess.madewithlove.be/
 

webmaster.webhulp94

New Member
Messages
13
Reaction score
0
Points
1
Hello cjptomas80,

As I said in my last post "Seems to work now".
But thank you for your goodwill to help me! :)

Regrds
 
Status
Not open for further replies.
Top