I’m trying to make a very good website, however, I cannot seem to figure out how to make something like summ.ga/extensionpart
In the URL bar, it shows either summ.ga/index.html. How can summ.ga/home or something
From the image above, I am trying to make a "path"
CodePudding user response:
You might need to buy a domain first and add a page in HTML. After that you can name each page and get something like sumn.gg/home
.
CodePudding user response:
Assuming that you already have domain(summ.ga), it depends on what web server you use.
In the case of Tomcat, you can make it through modifying sever.xml
It is like this
<Context path="/home" docBase="docRoot"/>
And of course, there are more things to do.
CodePudding user response:
If you're not already hosting your website, try doing so on GitHub (through GitHub Pages), and adding an HTML file.
- Go to GitHub.com.
- Sign in/up if necessary.
- Create a new repository.
- Upload/create your files. (like home.html)
- Go to the repository's settings, then click Pages.
- Under source, change None to main and click save.
- Check out your site! There should be a bar saying "Your site is ready to be published at (link)".
You should be able to visit (link)/home if you made home.html a file.