My friend ask me to test Invoice Ninja on my server. This software is very popular since you can do many things with invoice. This software made with Laravel 5.2 and I’ve test it ‘hard way’ in my vps .I think I can share simpler way to get this software run in affordable vps.
This documentation using Vultr vps smallest server and serverpilot free account. In nutshell, you have great invoice software with free control panel 🙂
Lets get start!
Setup VPS Server
VPS provider is Vultr. They provide the plan with pricing $2.5/month.
I use Ubuntu (14.04 64 bit) with following specs : 512MB and 20GB SSD storage.
After hit deploy button write down these information :
- Ip address
- username (root)
- password for vps server
Setting URL for access Invoice Ninja
I use Simple Zone Editor from my cpanel hosting to set A record for subdomain http://ninja.hostingformula.net
I change my dns manager to cloudflare.
$ dig ns hostingformula.net
; <<>> DiG 9.9.5-3ubuntu0.13-Ubuntu <<>> ns hostingformula.net
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47657
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;hostingformula.net. IN NS
;; ANSWER SECTION:
hostingformula.net. 84500 IN NS naomi.ns.cloudflare.com.
hostingformula.net. 84500 IN NS dom.ns.cloudflare.com.
;; Query time: 4528 msec
;; SERVER: 18.104.22.168#53(22.214.171.124)
;; WHEN: Tue Apr 04 05:52:45 UTC 2017
;; MSG SIZE rcvd: 102
For cloud flare user just assign A record to vps ip address.
This url is not working yet but we’ll working on it 🙂 More