1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Question path of subscribers domains

Discussion in 'Plesk 12.x for Linux' started by Frank1000, Feb 14, 2017.

  1. Frank1000

    Frank1000 Basic Pleskian

    6
    70%
    Joined:
    Jan 6, 2017
    Messages:
    36
    Likes Received:
    0
    Location:
    Berlin
    Hi,
    i think a subscriber can have multiple domains, which is also my case and i remember i have added domains under a single subscriber.
    Now when i go plesk/domains/click on domain/hosting settings to point the domain to a certain app folder on the server, it still shows me root/httpdocs, which indicates a vhost environment per domain, while i want to break out of the domain based environment.

    How do i set the absolute server path for a domain ?

    Regards,
    Frank
     
  2. Peter Debik

    Peter Debik Golden Pleskian Plesk Guru

    37
    80%
    Joined:
    Oct 15, 2015
    Messages:
    1,992
    Likes Received:
    405
    Location:
    Berlin, Germany
    You cannot. A domain is bound to the subscription path.
     
  3. Frank1000

    Frank1000 Basic Pleskian

    6
    70%
    Joined:
    Jan 6, 2017
    Messages:
    36
    Likes Received:
    0
    Location:
    Berlin
    Hi Peter,
    is there another way to setup the domains, so not to have multiple vhosts and be able set the absolute path for a domain
    i find it not possible, that a hosting app would not offer this most fundamental feature.

    Regards,
    Frank
     
  4. Peter Debik

    Peter Debik Golden Pleskian Plesk Guru

    37
    80%
    Joined:
    Oct 15, 2015
    Messages:
    1,992
    Likes Received:
    405
    Location:
    Berlin, Germany
    It is possible to change the vhosts location, but it is not possible to set a specific path for a single domain that is outside that vhost location. For details on changing the vhost location please refer to https://support.plesk.com/hc/en-us/...ange-Virtual-Hosts-location-in-Plesk-for-Unix .

    May I ask for the reason why you want to change the path? Maybe there is a different approach to achieve the goal behind that plan?
     
  5. Frank1000

    Frank1000 Basic Pleskian

    6
    70%
    Joined:
    Jan 6, 2017
    Messages:
    36
    Likes Received:
    0
    Location:
    Berlin
    Hi Peter,
    thx for reply. Yes, im into building a background app that supports multiple domains. The app works on another shared server fine and i switched to 1u1 CloudServer which by default has plesk.
    All domains already point to the shared IP, only the paths for each domain now need to be set to the same absolute path and the app can roll.

    Regards,
    Frank
     
  6. Peter Debik

    Peter Debik Golden Pleskian Plesk Guru

    37
    80%
    Joined:
    Oct 15, 2015
    Messages:
    1,992
    Likes Received:
    405
    Location:
    Berlin, Germany
    I am afraid that this is unsupported. You could however add your domains to a single subscription and use the same document root directory for each domain inside that subscription.
     
  7. Frank1000

    Frank1000 Basic Pleskian

    6
    70%
    Joined:
    Jan 6, 2017
    Messages:
    36
    Likes Received:
    0
    Location:
    Berlin
    ... isn't transvhosts.pl the solution i need ? defining the server-path for a domain ?
     
  8. Frank1000

    Frank1000 Basic Pleskian

    6
    70%
    Joined:
    Jan 6, 2017
    Messages:
    36
    Likes Received:
    0
    Location:
    Berlin
    ... i was wondering what the correct syntax would be to set the server-path for a domain via transvhost.pl to "root/var/www/my-destination-folder". Rt now its not clear to me when i read the --help

    [​IMG]
     
  9. Peter Debik

    Peter Debik Golden Pleskian Plesk Guru

    37
    80%
    Joined:
    Oct 15, 2015
    Messages:
    1,992
    Likes Received:
    405
    Location:
    Berlin, Germany
    This script is for moving the virtual host base directory to a new location. It will not solve your task.
     
  10. Frank1000

    Frank1000 Basic Pleskian

    6
    70%
    Joined:
    Jan 6, 2017
    Messages:
    36
    Likes Received:
    0
    Location:
    Berlin
    ... can i point many domains to the same vhost path ?
    If not, which hosting app can do it ?
     
  11. Peter Debik

    Peter Debik Golden Pleskian Plesk Guru

    37
    80%
    Joined:
    Oct 15, 2015
    Messages:
    1,992
    Likes Received:
    405
    Location:
    Berlin, Germany
    You can create subscriptions. Subscriptions derive from the vhost path. You cannot point domains to the vhost path. You can only control the document root directory of domains inside subscriptions.
     
  12. Frank1000

    Frank1000 Basic Pleskian

    6
    70%
    Joined:
    Jan 6, 2017
    Messages:
    36
    Likes Received:
    0
    Location:
    Berlin
    Ok great. I do have one subscription only, but seems the domains are not yet under it. How can I move them to the single subscription I have there ?

    Regards Frank
     
  13. Peter Debik

    Peter Debik Golden Pleskian Plesk Guru

    37
    80%
    Joined:
    Oct 15, 2015
    Messages:
    1,992
    Likes Received:
    405
    Location:
    Berlin, Germany
    Domains cannot be moved from one subscription into another. It's a feature request that has not yet become reality. You need to delete the domains from other subscriptions and re-create them in the target subscription.
     
  14. Frank1000

    Frank1000 Basic Pleskian

    6
    70%
    Joined:
    Jan 6, 2017
    Messages:
    36
    Likes Received:
    0
    Location:
    Berlin
Loading...