Is it possible to enter website to check it's working before I setup new dns entries (or before dns will propagate in network). In DirectAdmin I can just do this: https://adres_ip_of_server/~accountName and then in browser I can see does the domain works.
The way directadmin is using des not work with many CMS systems. The only way to get the exact result is to modify the hosts file on your desktop: https://www.faqforge.com/linux/cont...ess-a-namebased-website-without-a-dns-record/
I found something. Here is a link https://git.ispconfig.org/ispconfig/ispconfig3/issues/1280. There is some information about "Website auto alias. I did it. Server name is s1.example.com. In field "Website auto alias" I put placeholder [website_domain] and in example.com dns zone I put wildcard: *.s1.example.com. Maybe I have to wait more time on broadcast dns but currently domain.com.s1.example.com does not find an ip/not works.
The auto alias feature has the same weaknesses than the way DirectAdmin is doing it, that you can't access it at the moment seems to be a DNS issue though which might take some more time. I would use the way with the hosts file, it's the only reliable way to get an exact preview.
Domain is currently on another server, it's production domain. I put in /etc/hosts: Code: x.x.x.x domain.com But it of course not working. This web auto alias feature won't be long. I move amazingly huge webservice (really mess) and I need to check it before I will change dns entries from old server. Till, please tell me that I did right way in setup web auto alias. (only placeholder in input field without adding server hostname after dot like [website_domain].s1.example.com)
Of course this method is working, I use it daily. If it's not working for you then you edited the wrong hosts file. You have to edit the hosts file on the desktop PC you are working on, not on your server. The hosts file overrides DNS, so it does not matter if the domain is in production on another server. All common operating systems (Windows, Mac, Linux *BSD have a hosts file, so it works on all of them. then it#s even more important to use the hosts file method as aliases (no matter if you use the ones from ispconfig or the way DirectAdmin and plesk are doing it) can give you a reliable result for complex websites. they work only for small sites with a few html pages without any redirects or cms systems.
This is my bad, I thought I should edit hosts on the server... shame on me. Perfect job with hosts. Great help Till.