Coder Social home page Coder Social logo

sannour / domain-parking Goto Github PK

View Code? Open in Web Editor NEW

This project forked from steima/domain-parking

0.0 0.0 0.0 29 KB

Simple PHP script and template which allows you to get a domain-parking site quickly up and running.

License: Apache License 2.0

PHP 50.90% HTML 49.10%

domain-parking's Introduction

Domain Parking Landing Page

This is the steinbauer.org domain-parking landing page. If you are anything like me, you will sometimes just buy a domain in the hope you can sell it later at a higher price. While holding the domain you want to put some minimal interface to make clear to potentialy buyers that your domain is for sale.

In this project you will find a simple minimal PHP script which provides a minimal landing page for domain parking. It uses the server domain name to automatically load a configuration from a JSON file and sets up widgets accordingly.

To install this script usually if you bought your domain with a webspace you would just upload the files found in this repository to the webspace and everything should work out of the box.

I run the script on a webserver machine which defaults to use the scripts found in this repo if no other more specific VHost configuration was found in Apache.

Configuration

The page uses configuration found in JSON files to display information. The defaults are setup in defaults.json and can be overriden with domain specific configuration files <domain>.json. If a user hits a subdomain or FDQN i.e. www.mydomain.com the automatically fallbacks with the TLD are pulled (mydomain.com).

If a domain is just a fallback to another domain i.e. mydomain.com and my-domain.com then the config file can have the special key forward which denotes another domain name which is used to load the configuration. If the forward key is set no other config processing is performed!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.