Giter VIP home page Giter VIP logo

domain-manager's Introduction

About Domain Manager

This domain manager is a solution for people who manage multiple domains in a linux environment. After installation, this system will help to automate some of your tasks as follows:

  • Suppose you just built your project and deployed it. Your project is now ready for launch, but it is currently running on 192.168.123.456:8000 but you want it accessible through example.com. Lucky for you, you have this domain manager up and running.

  • You log into the system and create a domain called example.com and its proxy you set as 192.168.123.456:8000. Having done that, you open a new tab and go to example.com, and voila! Your project is ready for launch!

  • When you create a domain in the system, a reverse proxy and a service file will be created automatically for the domain. Therefore, if your project is running on 192.168.123.456:8000 and you have created its domain as example.com, you will now be able to access the it through example.com

How To Install

This project was built using Laravel 10. Therefore, you need to have composer in your environment. If you do not have composer installed read here for more information about composer.

You may clone this project on github directly or using composer composer create-project jessyledama/domain-manager

Once the installation process is complete, you may cd into your project cd domain-manager

Migrate your database php artisan migrate

Seed test data php artisan db:seed

Start the project php artisan serve

Once the system runs, it will be available on localhost:8000 or as displayed in the terminal.

Setting Up Domains

Once your server is running, you can access it on the browser then follow the following steps:

  • Log in
  • Create a path for your proxy file (default is /etc/apache2/sites-available/domain.conf)
  • Create a path for your service file (default is /etc/systemd/system/domain.service)
  • Create a domain.
  • The system creates a sites-available file (/etc/apache2/sites-available/domain.conf) aka reverse proxy.
  • The system creates a service (/etc/systemd/system/domain.service).

Once these steps have been completed, your project is now accessible on domain.com and www.domain.com

Why Domain Manager

This domain manager keeps a list of your domains in the database. As such, should any file be deleted, the system will automatically recreate the files. This ensures that all your domains run smoothly.

From The Author

This domain manager was developed and is maintained by Jessy Ledama as a free open source solution. You are free to use it as you please.

Security Vulnerabilities

If you discover a security vulnerability within this package, please send an e-mail to Jessy Ledama via [email protected]. All security vulnerabilities will be promptly addressed.

License

This Domain Manager is open-sourced software licensed under the MIT license.

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.