New Unmanaged VDS

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
barhund
This is my homepage
This is my homepage
Posts: 124
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri May 16, 2014 7:37 am

New Unmanaged VDS

Post by barhund »

Ok... i've been bashing my skull against this thing for the better part of 2 hours trying to figure out why none of the simple commands like apt-get update are working... Basically the VDS won't resolve us.archive.ubuntu.com...

If I run "sudo apt-get update" it spits out unable to resolve host 'wompvds' ... then proceeds to error out and not resolve us.archive.ubuntu.com
Image
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: New Unmanaged VDS

Post by soja »

The error "cannot resolve wompvds" is shown when running commands as root and shows because you do not have your hostname setup properly.

Type this in your command line as root:

hostname vds1.mysite.com

vds1 can be anything you want.

Then make an "A" record on your website pointing to your VDS's primary IP.

As for domain names not resolving, have you edited your interfaces or resolv.conf files?
Not a NFO employee
barhund
This is my homepage
This is my homepage
Posts: 124
Joined: Fri May 16, 2014 7:37 am

Re: New Unmanaged VDS

Post by barhund »

I have yet to edit anything i tried setting the route command but it said... network unreachable.
Image
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: New Unmanaged VDS

Post by soja »

what is the output if you do this in your command line:

Code: Select all

ping google.com
Not a NFO employee
barhund
This is my homepage
This is my homepage
Posts: 124
Joined: Fri May 16, 2014 7:37 am

Re: New Unmanaged VDS

Post by barhund »

ping: unknown host google.com
Image
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: New Unmanaged VDS

Post by soja »

edit your /etc/network/interfaces file and make sure it looks something like this:

Image
Not a NFO employee
barhund
This is my homepage
This is my homepage
Posts: 124
Joined: Fri May 16, 2014 7:37 am

Re: New Unmanaged VDS

Post by barhund »

I'm new to the whole editing files via command line...
Image
barhund
This is my homepage
This is my homepage
Posts: 124
Joined: Fri May 16, 2014 7:37 am

Re: New Unmanaged VDS

Post by barhund »

got the nano open just looking for the extension to the network/interfaces file
Image
barhund
This is my homepage
This is my homepage
Posts: 124
Joined: Fri May 16, 2014 7:37 am

Re: New Unmanaged VDS

Post by barhund »

its been edited...
Image
barhund
This is my homepage
This is my homepage
Posts: 124
Joined: Fri May 16, 2014 7:37 am

Re: New Unmanaged VDS

Post by barhund »

i can ping google!!!!
Image
barhund
This is my homepage
This is my homepage
Posts: 124
Joined: Fri May 16, 2014 7:37 am

Re: New Unmanaged VDS

Post by barhund »

I updated the etc/resolv.conf file too and that gave me interweb access yaaaay!! ty soja
Image
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: New Unmanaged VDS

Post by soja »

Great, glad you got it sorted! I got a little distracted, but you figured it out :)

If you need anything else please ask!
Not a NFO employee
Post Reply