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.
     

Share This Page