How to access my index.html?

I have created my first html file under htdocs and i create a folder named zaint. how to access my index.html to see how it looks like?

You added folder?
So now is like
Domain folder=>hdcocs=>folder(name)=> and file

So if you want to access this index html file you need to do this

Domain name(slash)folder name(slash)index.html

1 Like

this is my link http://if0_36888514.infinityfreeapp.com/oasis/test.html. is this correct? because nothing shows.

Did you really put this as a subdomain or it was just a temp domain? Anyways, that domain doesn’t resolve right now, due to this:

Could you please just share the URL that that zaint folder was on instead of creating yet another one folder or domain and add up unnecessary trouble?

1 Like

You can access your website using the domain name you chose while setting up your account. If you’re not sure what domain that is, you can view the current list of domains on your account in the client area on the Domains page.

Also, if you placed a file index.html in the folder zaint, you should be able to see it on the path /zaint/index.html. If you want it to be available under the URL /oasis/test.html, you need to name the folder oasis and the file test.html.

There is not a lot of magic in website file structures: the location in the htdocs folder matches the URL.

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.