N-Bomb(Nerd) Posted February 8, 2012 Share Posted February 8, 2012 Hello, I have recently purchased a linux vps and I would like to setup a domain to use on there. I'm able to install apache/php/mysql without a problem, but I don't know how to set up the dns so I'm able to use my domain on there. How would I do this? Quote Link to comment Share on other sites More sharing options...
ManiacDan Posted February 8, 2012 Share Posted February 8, 2012 Call the people you bought the domain from, they're the ones who handle the routing to your IP. Quote Link to comment Share on other sites More sharing options...
scootstah Posted February 8, 2012 Share Posted February 8, 2012 Your VPS host should provide you with DNS servers to point the domain to. Quote Link to comment Share on other sites More sharing options...
N-Bomb(Nerd) Posted February 8, 2012 Author Share Posted February 8, 2012 Your VPS host should provide you with DNS servers to point the domain to. I've searched through all available options and I'm not seeing anything like this. Could it be because I don't have any Control Panel (cpanel, etc.. etc..)? Quote Link to comment Share on other sites More sharing options...
ManiacDan Posted February 8, 2012 Share Posted February 8, 2012 Do you already own a domain? Quote Link to comment Share on other sites More sharing options...
N-Bomb(Nerd) Posted February 8, 2012 Author Share Posted February 8, 2012 Do you already own a domain? Yes. I own my domain. However, I don't know how to tie it up with my hosting. I don't even know the technical terms here and this is upsetting me quite a bit that I can't even accurately describe what I want to achieve. I have a VPS. There's no control panel (like cpanel). It's running Linux. I have 7 IP addresses. I've looked through the hosting company control panel and there isn't anything about dns. It's just a basic Linux install and I manually put Apache on there. Quote Link to comment Share on other sites More sharing options...
ManiacDan Posted February 8, 2012 Share Posted February 8, 2012 There wouldn't be anything about DNS at the VPS service. You're renting a domain name from DomainNamesInc. You're renting a VPS with 7 IPs from VPSInc. You need to call DomainNamesInc and say "please route my domain name to this IP which points to my VPSInc server." Quote Link to comment Share on other sites More sharing options...
N-Bomb(Nerd) Posted February 8, 2012 Author Share Posted February 8, 2012 There wouldn't be anything about DNS at the VPS service. You're renting a domain name from DomainNamesInc. You're renting a VPS with 7 IPs from VPSInc. You need to call DomainNamesInc and say "please route my domain name to this IP which points to my VPSInc server." I can edit my domain and set the name servers myself, but what do I put there? Just the ip address of my vps? Quote Link to comment Share on other sites More sharing options...
ManiacDan Posted February 8, 2012 Share Posted February 8, 2012 You can set the name servers? That's not the right word. Ok, this is what happens: The domain registrars maintain databases of "this domain points to this IP." Those database form the domain name service. There are master DNS servers and regional ones, you don't really need to know how that network is set up. When a user types "www.yoursite.com" into his browser, his computer checks the local DNS server to determine what IP he should use. So what you need to do is edit where the domain name resolves (or "points") to. If you're editing something that says "DNS Server" you're probably editing where your computer looks for new addresses. Quote Link to comment Share on other sites More sharing options...
N-Bomb(Nerd) Posted February 8, 2012 Author Share Posted February 8, 2012 You can set the name servers? That's not the right word. Ok, this is what happens: The domain registrars maintain databases of "this domain points to this IP." Those database form the domain name service. There are master DNS servers and regional ones, you don't really need to know how that network is set up. When a user types "www.yoursite.com" into his browser, his computer checks the local DNS server to determine what IP he should use. So what you need to do is edit where the domain name resolves (or "points") to. If you're editing something that says "DNS Server" you're probably editing where your computer looks for new addresses. Here's what I'm presented with when I click on edit dns location: Is that what I need? Quote Link to comment Share on other sites More sharing options...
ManiacDan Posted February 8, 2012 Share Posted February 8, 2012 "Name Server" should be "1and1 name server" then you'll have another option where you can set the IP address for your domain. The 1and1 help file has more. Quote Link to comment Share on other sites More sharing options...
trq Posted February 8, 2012 Share Posted February 8, 2012 Seriously. If you can't do this, you shouldn't be running a VPS. Quote Link to comment Share on other sites More sharing options...
N-Bomb(Nerd) Posted February 8, 2012 Author Share Posted February 8, 2012 Seriously. If you can't do this, you shouldn't be running a VPS. It's my first VPS. That's kind of harsh. :'( I've always had shared web hosting. Quote Link to comment Share on other sites More sharing options...
Stooney Posted February 8, 2012 Share Posted February 8, 2012 Name Server: 1&1 Name server IP Address (A-Record) : IP Address to your server. It may take about 10-20 mins before the domain actually starts pointing to the new IP. It takes time for the settings to propagate. Quote Link to comment Share on other sites More sharing options...
N-Bomb(Nerd) Posted February 8, 2012 Author Share Posted February 8, 2012 "Name Server" should be "1and1 name server" then you'll have another option where you can set the IP address for your domain. The 1and1 help file has more. I followed this and my domain is now pointing to my VPS hosting. Thank you. -- While I have everyone here: Let's say that I want to host multiple domains from the same VPS hosting. How would I achieve this? I'm kind of confused on exactly what a name sever is or exactly how to create or use one. Like I said I have multiple IP addresses that came with my VPS. Is there any decent tutorials explaining this? I've tried googling, but I'm not coming up with any good results.. Quote Link to comment Share on other sites More sharing options...
AyKay47 Posted February 8, 2012 Share Posted February 8, 2012 Seriously. If you can't do this, you shouldn't be running a VPS. It's my first VPS. That's kind of harsh. :'( I've always had shared web hosting. Was a little harsh, but also very true. You should have done research before you purchased a vps, you could have done damage to the server configuration. But, I'm glad you got it sorted. Quote Link to comment Share on other sites More sharing options...
trq Posted February 9, 2012 Share Posted February 9, 2012 While I have everyone here: Let's say that I want to host multiple domains from the same VPS hosting. How would I achieve this? I'm kind of confused on exactly what a name sever is or exactly how to create or use one. Like I said I have multiple IP addresses that came with my VPS. Is there any decent tutorials explaining this? I've tried googling, but I'm not coming up with any good results.. http://httpd.apache.org/docs/current/vhosts/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.