pointing to one ip address or direcotry from many website

Discussion in 'Installation/Configuration' started by aryanto, Sep 29, 2024.

  1. aryanto

    aryanto New Member

    I just installed ISPCONFIG. I have an application that I put in the root directory, namely (/var/www/html)
    I want several websites to be able to access the directory but only as an alias. For example, ais.example.com will automatically open the web page placed in the root directory with a different IP address / location from ais.example.com. However, in the browser address section, the ais.example.com address is still written, only in the content section contains the application placed in the root directory (/var/www/html).
    My ISPCONFIG has a different hosting from ais.example.com. Please give me instructions on how this can be done?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Remove the application from /var/www/html directory. Never install any apps there on an ISPConfig server.
    2) Create a website for the application in ISPConfig and then install it into the web directory of that site.
    3) if you want to have other aliases pointing to that site, add them as alias domains in ISPConfig for this site.
     
    Strontium and aryanto like this.
  3. aryanto

    aryanto New Member

    Mr. Till, thank you for your response and feedback, I will do it soon.
     
  4. aryanto

    aryanto New Member

    wow that's success..
    i put myapp at the ciss2.cloud and add alias domain ais.myperpu.my.id
    and boom!!! great, thanks agarin mr till

    upload_2024-9-29_14-18-26.png
     

Share This Page