ISPConfig Temporary URL to access one websites

Discussion in 'ISPConfig 3 Priority Support' started by albertf, Sep 28, 2019.

  1. albertf

    albertf Member HowtoForge Supporter

    Hello,
    I am sorry for this question because it probably asked many time already.
    If I have one website already online, before to transfert the website to an other server, somethimes it's usefull to test the webiste.
    Ispconfig can give Temporary URL to access one website, but I am confusing with what I have to do !
    System -> Server Config -> Web -> Website auto alias
    I added in the filed : [website_id]
    Then http:/my-vps.hosting.net:8080/web3/ return 404 not found
    After I tried http:/my-vps.hosting.net:8080/client0/web3/ return 404 not found
    After I tried http:/my-vps.hosting.net:8080/clients/client0/web3/ return 404 not found
    Which Url should I use ? (with the seeting above)
    Thanks
     
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    The [website_id] is a placeholder. So you have to enter into the field something like: web[website_id].yourdomain.com
    Then you have to make a * A / AAAA record in your DNS (*.yourdomain.com) pointing to the server. So you can call web3.yourdomain.com afterwards. Remember that you might have to recreate the web once you change the website autoalias to have it be created.
     
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  4. albertf

    albertf Member HowtoForge Supporter

  5. albertf

    albertf Member HowtoForge Supporter

    I am sorry, I don't understand, what you mean ?
    I was talking about this :
    [​IMG]
    We cannot use this above ?
    To make http://my-vps.com:8080/[website_id]
    [​IMG]
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  7. albertf

    albertf Member HowtoForge Supporter

    Why client99.my-vps.com ?
    System -> Server Config -> Web -> Website auto alias (we can use it ? right ?)
    Said : Website auto alias : [website_id]
    Why you are saying [client_id] client99.my-vps.com ?
    [​IMG]
    http:/[website_id].my-vps.hosting.net:8080 return 404 not found
    What is the simply : ISPConfig Temporary URL to access one website ?
     
  8. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I have not used this feature, so I have no first hand knowledge. I am just referring to what the manual says.
     
  9. albertf

    albertf Member HowtoForge Supporter

    400 pages good luck, on my side as a beginner I dismiss on this specific point.
    Maybe @till knows how to use my screenshot ?
    [​IMG]
    This should give ISPConfig Temporary URL to access one website.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    The domain part is missing. you have to use something like:

    web[website_id].yourdomain.tld

    this will add an alias for e.g. web123.yourdomain.tld to the site so that you can use e.g. http://web123.yourdomain.tld to access the site. But personally I always use the hosts file approach that taleman mentioned in #3 as using other aliasdomains will probably fail with most cms systems and also rewrite rules might give wrong results when working with a alias, so better use /etc/hosts wherever possible.
     
    ahrasis likes this.
  11. albertf

    albertf Member HowtoForge Supporter

    Thank you
     

Share This Page