How do you add a subdomain in glitch.
I’m talking about having something like “project. glitch. me/subdomain” or “subdomain. project. glitch. me”.
I’m able to have something like “project. glitch. me/index. html”
But I don’t want the .html added. Do I have to add a custom domain to do that?
(I added spaces because new users can’t add more than 2 links)
I don’t fully understand what you mean. If it’s static, you can just remove the /index.html
entirely. If you just want /index, you can just rename the file to it.
When I remove the .html, It says not found when I got to the site
Remove the .html
from the URL or the file?
When I remove the .html from here and put /trolled at the end of the url it makes me download a file which just has the html code inside
It could just be a me issue but I don’t get why only my site does this.
I also don’t have it in a folder.
make trolled/index.html, then open your browser to /trolled
Thanks, This worked
How can I make this work in a node.js project though
The easiest way is to use Express.js!
Yeah I used that to make it work
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.