Skip to content

Generates a "not found domain" compact responsive page for hosting providers when a domain or website is suspended, deleted or unavailable.

License

Notifications You must be signed in to change notification settings

walitoff/website-not-found

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

404 Page for Missing Website (Domain)

Codacy Badge Codacy Badge Quality Gate Status Bugs Code Smells Duplicated Lines (%) Reliability Rating Security Rating Technical Debt Maintainability Rating Vulnerabilities CodeQL Codacy Security Scan Tests Deploy Hugo site to Pages Lines of Code GitHub

If you offer a hosting service, then you need to have some page that shows if a website does not exist on your hosting. For example, when the website has been deleted, suspended, expired or because of invalid DNS configuration. It's like a 404 page but for the whole domain.

DEMO IS HERE

Sample Screenshots

White theme: cover-fox

Dark theme: cover-black

Features

This project allows generating a simple page with the following features.

  • single page only, just use resulting index.html. All styles and JS are integrated in page.
  • multilingual support with automatic preferred user language detection. Can correctly handle cases when a user has a complex set of preferred languages with different locales such as en-GB, en-US, etc.
  • responsive design
  • tests cover all major JS code

Technical details

The project is made with Hugo for website generation, UIkit for UI, Jest for testing.

How to compile

  1. Configure the website options in /src/config.toml.
  2. Adjust texts to your needs or add translations in /src/data/. To order the languages use the weight parameter.
  3. Optionally add your own CSS in /src/assets/custom.css
  4. Optionally run tests with Jest if you modify the JS code: npm test
  5. Build the page with Hugo, run npm run build. The generated page will be in /src/public/index.html.

Contributions

All contributions are welcome. If you have something to add or share, please open an issue or a PR. Code contribution guide is here.

About

Generates a "not found domain" compact responsive page for hosting providers when a domain or website is suspended, deleted or unavailable.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •