0

If I was making a html project, how woukd I change my URL scheme to https/http instead of file\\C:?

I dont want my HTML site to be unfindable or give away locations on my PC, so how can I change the scheme?

6th Feb 2019, 11:36 PM
Cheese Burger Joe
Cheese Burger Joe - avatar
2 Antworten
+ 3
You would probably have to buy a domain name for that. But for your own computer, you could try manipulating the hosts file. Google "changing hosts file" probably for Windows I'm assuming since it's \\C:
7th Feb 2019, 12:47 AM
Zeke Williams
Zeke Williams - avatar
0
Another way is running a server on localhost which will serve your static html/css/js file. You can write a very basic http server on localhost with only 10-15 lines using node and express
7th Feb 2019, 8:47 AM
code learner
code learner - avatar