Domain issues

Discussion in 'General' started by mphayesuk, Sep 11, 2005.

  1. mphayesuk

    mphayesuk Member HowtoForge Supporter

    Ok what I have done is pointed portal.xxxxxx.co.uk to xxx.xxx.xxx.xxx (my web server) from my current ISP/Domain Host. How do I point this portal address to go to the ISPConfig page on my server.

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you created a new client in ISPConfig and then a new website with the host: portal and the domain: xxxxxx.co.uk ?
     
  3. mphayesuk

    mphayesuk Member HowtoForge Supporter

    Create Site for portal

    No but I will when I get back on the server. What do I do when I have created a new site for portal.xxxxx.co.uk and created all the web folders.

    Thanks
     
  4. mphayesuk

    mphayesuk Member HowtoForge Supporter

    Ok I have created a site for the portal.xxx.co.uk

    Now what do I do???
     
  5. falko

    falko Super Moderator ISPConfig Developer

    You have to create a DNS record (A Record) for portal.xxx.co.uk that points to the IP address of your ISPConfig server.
     
  6. mphayesuk

    mphayesuk Member HowtoForge Supporter

    Is that a DNS record created using ISPConfig. Can that DNS record also point to a port number.
     
  7. falko

    falko Super Moderator ISPConfig Developer

    If your ISPConfig machine is authoritative for your domain, then yes. If someone else manages your DNS records, then you have to tell him to do this, and if you've bought managed DNS services, then there should be some kind of web interface where you can create your A Record.

    No.
     
  8. mphayesuk

    mphayesuk Member HowtoForge Supporter

    Ok portal.xxx.xo.uk is pointed to my ISPConfig server.(DNS A Records at my ISP)

    There is a site on ISPConfig for portal.xxx.xo.uk

    So how do I make the portal address go to the ISPConfig config pages that are on https://xx.xx.xx.xx:81

    Thanks
     
  9. mphayesuk

    mphayesuk Member HowtoForge Supporter

    Hi can someone help with this... its the last piece of the puzzel for me I hope.
     
  10. falko

    falko Super Moderator ISPConfig Developer

    You must create an A Record for portal.xxx.xo.uk that points to your IP address
    xx.xx.xx.xx. Afterwards you can use your domain portal.xxx.xo.uk to access ISPConfig: https://portal.xxx.xo.uk:81
     
  11. mphayesuk

    mphayesuk Member HowtoForge Supporter

    Ok I see thats fine and should work now without me doing anything.

    What about is there a way to.... when a visitor goes to https://portal.xx.co.uk (without specifying port) and when it gets to my server it gets diverted to port 81 and so gets to the ISPConfig pages.

    If you see what I am getting at I want to make it easier for users to get to the portal without knowing port numbers.

    OR

    I could just put a link on my main home page and the link has got the web address and port number.

    Any suggestions.....
     
  12. falko

    falko Super Moderator ISPConfig Developer

    You can use a PHP script that redirects your users:

    PHP:
    <?php
    header
    ("Location: https://portal.xx.co.uk:81"); /* Redirect browser */
    exit;
    ?> 
     

Share This Page