setup own domain for isp panel

Discussion in 'Installation/Configuration' started by Poliman, Mar 6, 2017.

  1. Poliman

    Poliman Member

    Is it possible to setup domain bought from for example ovh.net for isp web panel? I would like to have for example domain.com:8080 to get into panel not vps123.ovh.net:8080 and then generate let's encrypt certificate for this domain.
     
  2. sjau

    sjau Local Meanie Moderator

    yes
     
  3. Poliman

    Poliman Member

    How to do this?
     
  4. sjau

    sjau Local Meanie Moderator

    Point another domain to the server. By default, everything on port 8080 goes to the ISPConfig site.
     
  5. Poliman

    Poliman Member

    During ISP installation process? I am not sure but during this process is possible put domain name. I am quite beginner.
     
  6. sjau

    sjau Local Meanie Moderator

    Make a A entry in a domains dns zone and point it to the IP of your server.
     
  7. Poliman

    Poliman Member

    So that means I have to install ISP, buy domain, next add new website in isp panel, create dns zone with A entry... but this lead to enter to isp panel under domain and default vps hostname not only domain, am I right? And should modify something in isp vhost file?
     
  8. Cris Kolkman

    Cris Kolkman Member

    What @sjau means is that it doesn't matter which domain you use.
    Even if you buy 100 domains they will all point to ISPConfig admin on :8080 as long as the A records for those domains point to the server running ISPConfig.
     
  9. Poliman

    Poliman Member

    Ok, but I would like to know the steps above written by me are proper or not. If yes - no problem I know what to do, but what to do if they are not proper steps?
     
  10. sjau

    sjau Local Meanie Moderator

    1. Register a domain
    2. Set it's nameservers
    3. In the nameserver, the an A record that points it to your server
    4. Wait until changes have propagated
    5. open ISPC control panel on that domain using https and port 8080 -> https://domain.tld:8080
     
  11. Poliman

    Poliman Member

    All nice but:
    1. I know how to do this.
    2. In ISP panel set nameservers? I imagine that firstly install isp panel, then add website which will be main for access to panel and then set dns zone for it in isp panel.
    3. I already know - Your answer - how to do this.
    4. I know.
    5. Any modification of ispconfig.vhost file or something?
     
    Last edited: Mar 6, 2017
  12. sjau

    sjau Local Meanie Moderator

    There, where you register a domain, you have to give according nameservers.

    And no, no modification is needed. All of port 8080 (or whatever you set for ISPConfig) will be directed to the ISPConfig control panel - no matter what domain!
     
  13. Poliman

    Poliman Member

    What will be with default domain name (vps name from hostname -f) which gives access to isp panel? Will it be second option to access or it will not be working?
     
  14. sjau

    sjau Local Meanie Moderator

    It only depends on the port used! Not on the domain name!
     
  15. Poliman

    Poliman Member

    Ok, thank You. I have website configured under ISP panel. I tried enter to panel via this domain and port 8080 - example.com:8080. Browser shows login form to ISP panel. I put credentials, clicked "login" and nothing happens. In browser console I have 404 Not Found error for (other finles with status 200, so ok):
    - dashboard.php, request url -> https://example.com:8080/login/dashboard/dashboard.php
    - nav.php?nav=side, url -> https://example.com:8080/login/nav.php?nav=side
    - nav.php?nav=top, url -> https://example.com:8080/login/nav.php?nav=top
    - keepalive.php, url -> https://example.com:8080/login/keepalive.php
    - datalogstatus.php, url -> https://example.com:8080/login/datalogstatus.php

    In other words - I can't log in to panel. Of course when I use normal url vps123.ovh.net:8080 I have login form for ISP panel and I can login.
     
  16. Poliman

    Poliman Member

    I did it and is fine but when I remove port :8080, web browser opens website which is deployed on the server (on the server are two websites currently). What cause this behavior?
     
  17. Taleman

    Taleman Member

    When You write the port number to the end of the URL it goes to the "website" that is listening on that port. So with port number :8080 it goes to ISPConfig Panel. If you omit the port number part, it goes the website defined for the default port. Default port number is 80. In Your case on port 80 is one of the websites You have set up on that host.
    So, in answer to Your question "What cause this behaviour?" the answer is omitting the port number from URL.
     
  18. Chris_UK

    Chris_UK New Member HowtoForge Supporter

    The response about it being automatic that 8080 will cover any domain is technically incorrect, if you allowed remote access to ispconfig during installation then yes it should work off any domain that is pointed to the same server, but if you blocked the access during installation opting for local only then you will need to unblock it, whether in firewall or configs im not sure.
     
  19. Poliman

    Poliman Member

    All right. I would understand it when I would have one website, but I have two, and why exactly website which was deployed as 2nd is opened not website deployed as 1st (under ISP panel)?
     
  20. Chris_UK

    Chris_UK New Member HowtoForge Supporter

    Have you checked system > remote users for your user account and its appropriate settings? if you cant login from remote but can see the panel then that would be where to look i believe.
     

Share This Page