What's new
PGBlitz.com

Register Now! Find useful tips, Interact /w Community Members and join the part the Best Community on the Internet!

Discussion Subdomain as "main domain" with Cloudflare and Traefik

simongade

Junior Member
PG Version
8.6.3
Server Type
Remote - VPS
I have a domain, let's call it mysite.com. I use Cloudflare as DNS and of course utilize Traefik.
I'd like to have all my PGBlitz-stuff on pgblitz.mysite.com – so that portainer is at portainer.pgblitz.mysite.com, plex is at plex.pgblitz.com and so forth. Is that possible?
 

artiume

Full Member
I think the easiest way is to update using PG to make pgblitz.domain.tld your website, your front page will end up being pgblitz.domain.tld at this point.

Next, go to portainer, edit the container that you use as your homepage. Once you are in the edit menu, go to labels and append domain.tld so it looks like this

Host: pgblitz.domain.tld, domain.tld

You don't necessarily have to append it, you could just remove the pgblitz.domain.tld portion.

I'm not sure if PG will remove the modification during updates or rebuilds of the containers.
 
M

MrDoob

Guest
That's not possible >>
portainer.pgblitz.mysite.com

An subdomain before an subdomain

That's never work

Simple..

Google.de. < main domain
translate.google.de < subdomain
and sub before sub dont work

fyi

After upgrade the pgversion you will lose your config !!!
 

artiume

Full Member

subdomains with subdomains do work. the question becomes does CF suppprt it
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.


Development Donations

 

Top NZB NewsGroups!

Members - Up To a 58% Discount!

Trending

Online statistics

Members online
13
Guests online
103
Total visitors
116
Top