Help with self hosted customer portal

Hello,

I’m normally OK with this sort of stuff but this has me a bit stuck!

I have just purchased a white-label subscription and have self-hosted through digital ocean and used an existing domain name and created a subdomain:

invoice.mydomain.com.au

I’d like to configure the customer portal to go through my website domain so that I can use the SSL installed on the droplet. However, I cannot get the customer portal to go through anything but the IP address of the droplet - which means that I cannot use an SSL certificate.

I’ve tried changing the Customer portal website to mydomain.com.au and invoice.mydomain.com.au and mydomain.com.au/invoice (and using the iframe method). I’ve even considered changing the application URL to invoice.andrewstapleton.com.au but it just crashes every time I use something other than the IP address of the droplet.

I’m a little stuck and would love some help!

Thank you in advance!

Maybe this will help…

https://www.invoiceninja.com/forums/topic/invoiceninja-caddy-and-nginx/#post-23206