Home > Back-end >  How can I make a website extension for my website?
How can I make a website extension for my website?

Time:02-18

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

Picure of URL structure

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.

  1. Go to GitHub.com.
  2. Sign in/up if necessary.
  3. Create a new repository.
  4. Upload/create your files. (like home.html)
  5. Go to the repository's settings, then click Pages.
  6. Under source, change None to main and click save.
  7. 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.

  • Related