Announcement

Collapse
No announcement yet.

Connect a domain name to external host via ISPConfig

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Connect a domain name to external host via ISPConfig

    hi everyone

    i have a domain site.com on a domain names registrar and i want to connect a subdomain exemple.site.com to my space in a VPS.. the VPS owner use ISPConfig in this server ! and i dont now much about this Cpanel (ispconfig)
    sow i dont know how can i configur DNS in my domain name controle panel, and i dont know what should i do in ISPConfig for connect it to my domain (exemple.site.com)
    for more info this is my information in the VPS by ispconfig :

    username : web445_name (name is my chosing name )
    db : web445_dbnumber (number is my perso nember )
    derectory root: /data01/web/www/clients/client0/web445/web
    ftpuser: the same of my username


    sow, this is the configuration of my host space in this VPS
    what should i do ?
    any help please ?

    #2
    Re: Connect a domain name to external host via ISPConfig

    If you want to have address example.site.com go to vps at xxx.xxx.xxx.xxx

    All you have to do is go to your dns settings for site.com and add a subdomain in there you will see subdomain field put example in it and A record put xxx.xxx.xxx.xxx save done
    My pc
    CPU : AMD PHENOM II x4 @ 3.5Ghz
    MB : ASUS M4A89TD PRO USB3
    RAM : Kingston ValueRAM 16gb DDR3
    PSU : Cooler Master 850W Silent Pro
    GPU : ATI Radeon HD 6850

    Comment


      #3
      Re: Connect a domain name to external host via ISPConfig

      OK so most registrars have a free DNS built in. If you post who your registrar is, I should be able to give you fairly precise instructions on how to use the registrar's DNS, (I deal with tons of registrars on a daily basis for both myself and my domain, hosting, and VPS customers)...

      Anyway, you will want to make an "A record" for the subdomain to go to the IP address of the VPS. So let's take a real example, using a VPS I use as a test box for making YouTube videos like this one....
      http://www.youtube.com/watch?v=CvIccZI1ELg
      Let's say the domain name is shovehost.com, but you want the VPS to be at test.shovehost.com. You would go to wherever your DNS is hosted (in this case you probably have it at your registrar), an alternative is to use a third party service like CloudFlare or Rage4
      https://www.cloudflare.com/
      http://www.rage4.com/

      Anyway so I have my VPS at 173.208.211.110 and since I want it at test.shovehost.com I would add an A record for test to my DNS zone file, pointing to the IP of the server. Some extra info: CNAMEs are like redirects, MX records are for email (in this case I host my email with Rackspace so I can't just use the email servers on my hosting).
      Don't get confused by any options at the DNS to make an AAAA record, you DO NOT WANT THAT as it is for IPv6 only which is NOT going to work for you.

      Then you would add your domain and subdomain to ISPConfig on your VPS. Then upload your website and have fun. But I hope that is helpful. I know Badcaps.net is on a server running ISPConfig, so I'm sure Topcat could answer any super specific ISPConfig questions because I'm more of a cPanel guy myself and it's been at least a year since I last used ISPConfig.

      Anyway, good luck on your project, and see the attached screenshot for an example of the DNS Zone File I've blacked out the IPs for my website because those need to be private.

      Edit: but honestly, for just hosting a website, a standard web host might be simpler for you to use and understand. cPanel is certainly a much more user-friendly and more polished and documented control panel, and in this case all you'd have to do is use the nameservers provided by the host when you sign up for hosting, and set those within the Domain Name Registrar. However this is certainly MUCH less fun than getting everything running on a virtual private server...
      Attached Files
      Last edited by shovenose; 02-22-2013, 11:31 PM.

      Comment

      Working...