Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.
Buying anything on Amazon? Please use the Geekzone Amazon aff link.

881 posts

Ultimate Geek

Topic # 61856 25-May-2010 10:48 Send private message

I have a VPS with Where's my server with a single static ip and a domain from ( As a newbie I need a simple detailed instructions to get the domain to redirect to the ip of my server 210.4.***.** . I have an apache webserver setup and virtual host configuired. Any help is appreciated. I have another domain setup on the same domain setup on the same server ( and used an A zone record to set it up but I have no idea on this one.


Create new topic
7807 posts

Uber Geek
+1 received by user: 337


  Reply # 334410 25-May-2010 11:41 Send private message

There are three pieces to the puzzle:

DNS Hosting
Website Hosting

You can either use 3 separate companies for each piece, or have one company do two parts or have one company do all.

Does your VPS plan include a DNS service?  Can you install a DNS service/server on your VPS?

881 posts

Ultimate Geek

  Reply # 334418 25-May-2010 11:50 Send private message

I don't know if they provide dns service. What would i need to host a DNS server on my centos server and how do i set it up? link to a how to?

487 posts

Ultimate Geek
+1 received by user: 47

  Reply # 334534 25-May-2010 14:45 Send private message

You should be able to do what you need to do with the control panel.

See the following entry in their knowledge base:,80

3733 posts

Uber Geek
+1 received by user: 966


  Reply # 334843 25-May-2010 23:28 Send private message

Ive found its easiest to do DNS hosting with the Registrar, i haven't found any benefit otherwise.

881 posts

Ultimate Geek

  Reply # 334881 26-May-2010 07:31 Send private message

I appear to have got it working with the www on the domain but without it still doesn't work. Any ideas??

1599 posts

Uber Geek
Inactive user

  Reply # 334890 26-May-2010 08:13 Send private message

Hey there Tom,
by the looks of your dns information you just need to remove the current a record for the root (eg. no www), and then add one for the correct IP like you have done for the www.

Your domain control panel is the same as mine:


487 posts

Ultimate Geek
+1 received by user: 47

  Reply # 334892 26-May-2010 08:20 Send private message

To add to the above, the root record is the one with the '@' symbol in the prefix column.

3733 posts

Uber Geek
+1 received by user: 966


  Reply # 335036 26-May-2010 13:23 Send private message

New a record pointing to @ will sort it out.

And this in your httpd.conf or .htaccess will redirect all non www links to www for a cleaner looking URL.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^ [NC]
RewriteRule ^(.*)$$1 [R=301,L]

881 posts

Ultimate Geek

  Reply # 335089 26-May-2010 15:26 Send private message

All sorted!! Thanks guys.

Create new topic

Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

Trending now »

Hot discussions in our forums right now:

Am I going down? App for the fearful of flying.
Created by networkn, last reply by Sideface on 29-Jan-2015 23:07 (47 replies)
Pages... 2 3 4

Which canon flash?
Created by esawers, last reply by timmmay on 30-Jan-2015 16:15 (19 replies)
Pages... 2

Bad lower back.
Created by TimA, last reply by jimbob79 on 30-Jan-2015 16:01 (77 replies)
Pages... 4 5 6

Police Speed Campaign - Summer 2014/2015
Created by nzkiwiman, last reply by scuwp on 1-Feb-2015 21:48 (188 replies)
Pages... 11 12 13

New to VDSL and wondering if I can change where the modem connects in the house
Created by Valcor, last reply by quickymart on 29-Jan-2015 20:59 (17 replies)
Pages... 2

Help recognize big black spider nope
Created by solival, last reply by heylinb4nz on 30-Jan-2015 13:34 (16 replies)
Pages... 2

New Ford Owner - Looking for Service options
Created by maxeon, last reply by maxeon on 30-Jan-2015 22:11 (14 replies)

Windows 10 News - 22 Jan
Created by Regs, last reply by semigeek on 30-Jan-2015 13:34 (134 replies)
Pages... 7 8 9

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.