Hi All,
I’m trying to set up a live staging target before i deploy to a pilot customer next week and can’t get it working…arrrghhh
I’ve read through everything I can and followed the usual Docker, Traefik and NodeJS guides but the pages are simply not loading with 2 main issues i can see:
- The page is not secure and the Lets Encrypt certificate doesn’t appear to have been issued. The certificate issued is
TRAEFIK DEFAULT CERT
so I don’t know if this is what supposed to show, but the pages are showing as not secure. I have deleted the docker machine and started from scratch earlier today so it’s been about 3-4 hours since i created it - Even if i ignore the security, the pages don’t load and return 404 page not found error.
Here’s a snapshot of what i’ve done so far:
Project Details:
- Docker/NodeJS web server with external direct connection DB (DB connections is working fine)
- Deploying a staging environment with Docker Machines in Wappler on Linode (the server and docker machine were created fine)
- Using Portainer and Traefik services with the Docker Machine (both of these sub-domains can be accessed once i added the A name records in DNS)
Target settings
And the Web Server
As per the Traefik guide, i only added the domain name and removed port 80 after successfully adding the Portainer and Traefik services to the docker machine.
Here’s the Docker machine:
And the services attached (the Portainer and Traefik dashboards both work fine and i can login and access those 2 pages)
At Linode (the VPS provider) I manage the Domains and sub-domains etc and can also add any firewall rules (currently I haven’t added any rules)
For the sub-domains, all i did was create some new A records in the Linode Domain manager. I had to delete some previous * sub-domains as the same domain is being used for the ‘marketing’ website as well as the app website, but different servers (i.e.mydomain.com for the marketing website and app.mydomain.com for the SaaS product)
What am i missing here? I feel that i’ve missed something or done something wrong? I cant get this staging to work and i need to launch with a pilot program next week.
Can anyone please offer any thoughts, ideas or insights?
Last updated: