https://github.com/frizbee/domainer
Build nginx domain config files
https://github.com/frizbee/domainer
Last synced: about 2 months ago
JSON representation
Build nginx domain config files
- Host: GitHub
- URL: https://github.com/frizbee/domainer
- Owner: frizbee
- License: gpl-2.0
- Created: 2016-07-25T03:59:36.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-10T08:04:00.000Z (almost 10 years ago)
- Last Synced: 2025-03-20T19:35:46.812Z (over 1 year ago)
- Language: Ruby
- Size: 447 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.md
Awesome Lists containing this project
README
# Domainer
## Build nginx domain config files with landing page
Quick script to setup multiple domains for sale along with landing page.
I was requested to setup landing page for over 300 domains to sale them online with web form to contact domain owner. I built that script for my own needs, feel free to use it, download and modify for your own needs in case you gonna use different http server, php version, etc.
Script has manual domain setup (one domain per run) and automatic (multiple setup from file)
Script really needs refactoring, but working ok.
# Server Requirement
* NGiNX
* Ruby
* PHP 7
* Git
# Usage
Upload files to your server
or run `git clone https://github.com/frizbee/domainer.git`
Install gem "zip"
```
gem install zip
```
Should be run under root privileges
Run
```
./automation.rb
```
Script will ask you the way you want to setup your domain(s), type letter "a" for automatic (multiple domains from file) or "m" manual setup (one domain per run)
### For automatic
Script will ask you to put full path to the file with comma separeted domains file along with price (see exmpl domains.txt) in my case price is in euro.
> Example:
```
domain1.com,1200
domain2.com,1500
domain3.com,400
domain4.com,800
```
### For manual
Script will ask you to type domain name (example.com) and then price in euro
In the end in both case it will ask you to type email address where you want to receive offers from your web form of domain landing page
Done
# Credit
Use, contribute, share