What's new
Panelica Community Forum

Welcome to the official Panelica Community Forum — the central hub for server administrators, developers, and hosting professionals. Register a free account today to access technical discussions, product announcements, feature requests, and direct support from the Panelica team. Be part of the growing community shaping the future of server management.

Solved Nginx özel ayarlar devre dışı kalıyor

tailadmin

New member
Beta Access
Domain için özel nginx ayarı eklediğimde örneğin tailadmin.dev adresinin sinanaydogan.com.tr ilede açılması için tailadmin.dev domainin nginx ayarlarına ekleme yapıyorum. kaydedip reload yapınca düzgün şekilde sinanaydogan.com.tr yazınca tailadmin.dev açılıyor fakat. server update gelince, özel nginx ayarlarında sinanaydogan.com.tr ekli olmasına rağmen panelicanın default boş sayfası görünüyor. tailadmin.dev domainine girip ayarları kaydet ve reload yap demem gerekiyor.
 
Hi @tailadmin, thank you for the clear report — you actually pinpointed the root cause for us.

Why it happens
When you hand-edit a domain's Nginx config to add an extra hostname to its server_name (so, in your case, sinanaydogan.com.tr opens the tailadmin.dev site), that works until the next change — but the panel owns and regenerates the vhost. Any time the vhost is rebuilt (a server update, an SSL renewal, a settings change), it is written from the panel's own model of the domain, and manual additions that live only in the file are not part of that model, so they are dropped. That is why you saw the default empty page after an update and had to re-save to re-apply your change.

The proper fix — Domain Aliases
We have added a first-class Domain Alias feature built for exactly this use case: serving the same site under one or more additional hostnames (a mirror), without touching the raw Nginx config.

How it maps to your case: open tailadmin.dev and add sinanaydogan.com.tr as an alias. From then on:
  • The alias is stored in the panel and is included every time the vhost is regenerated — so it survives server updates, SSL renewals and reloads. No more re-saving by hand.
  • A self-heal check runs on every backend start and re-applies any alias that is missing from the live config, so an older build can never leave you on the default page.
  • No conflicts: an alias name that already exists as another domain, subdomain or alias is refused up front, which avoids the "conflicting server name" situation that caused this in the first place.
  • SSL is covered: active aliases (and their www.) are added to the Let's Encrypt certificate automatically once their DNS points to the server, and a new alias triggers a best-effort re-issue right away.

You will find it in two places: on a domain's Edit → Aliases tab, and on the standalone Domain Aliases page under the Domains menu. It is fully translated in all 31 panel languages.

One note: an alias serves the same site. If you ever want to send visitors to a different address instead, use Redirects — that is a separate feature.

This is rolling out through our update channel now. Once you update to the latest version, please give it a try and let us know how it works for you. If you run into any problem at all, please reply here and let us know — we'll be watching this thread and are happy to help.

Best regards,
The Panelica Team
 
Back
Top