• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Regardig Managing Domain while using Alias Domains...

NeuroPsyche

Regular Pleskian
I have a domain with close to about 30 aliases and am having trouble coding anything in Plesk or Sitebuilder
to use actual paths on the Plesk/Sitebuilder server.

Does anyone know of a work-around to managing hardcoded paths, for example
using the Hyperlink Module, using the FILE:\\ command to display a simple .pdf or .doc file to the
web user...
How does one code the FILE:\\ server\drive\path\file.ext if you want to use the
domain's \HTTPDOCS\ directory and maintain a directory in the root of the domain
ex. http://www.domain.com/<filesdirectory>
...whereas the <filesdirectory> is contained in the Primary domain physical path.

...where the problem occurs is if someone comes in on one of the alias domains. The path actually, if coded
to use the domain root path, will change.

Is there any variable, that anyone knows, which shows the actual Primary Domain Name? Instead of the actual
domain the user is on.

If anyone has any suggestions it would be greatly appreciated!
Thanks!
 
Back
Top