Making a website but having trouble figuring out the difference in my link | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 5

Making a website but having trouble figuring out the difference in my link

when I type my website address in I have to type https:// before the name of the site. if I don't type this it says the page cannot be found. could you tell me the difference between a link such as "https://somewebsite.000webhostapp.com" and just typing "somewebsite000webhostapp.com" i understand one is secure and other is not but what make one take me to my site and the other just take me to the host site saying my website isn't there?

11th Mar 2017, 1:46 PM
Eric Kershner
Eric Kershner - avatar
1 Réponse
+ 5
Your problem is mostly because the virtual host on the web server configuration. Wether you use Nginx or Apache as your web server, normally​ the configuration for HTTPS (port 443) and HTTP (port 80) are on different virtual host. If you have the access to modify the web server configuration, try to check the "root directory" or the "home directory" for the virtual host, make sure that on both HTTP or on HTTPS virtual host, have the configuration pointed to the same directory. Mostly, besides of the different configuration like what I stated above. This kind of problem happened if you try to access the HTTPS version of a site while they don't have a valid SSL certificate so they didn't activate the HTTPS virtual host. If you don't have the access to your web server configuration, you can ask your server administrator for this. And if the problem still exists, I am also happy if I can help you.
11th Mar 2017, 2:26 PM
Dadang NH
Dadang NH - avatar