Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




870 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 domains4less.co.nz (tom.geek.nz) 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 (testsitenz.co.cc) and used an A zone record to set it up but I have no idea on this one.

Tom





Create new topic
6887 posts

Uber Geek

Trusted
Subscriber

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

There are three pieces to the puzzle:

Registrar
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?





870 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?





398 posts

Ultimate Geek


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

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

See the following entry in their knowledge base:

https://support.webhost.co.nz/index.php?group=domains4less&_m=knowledgebase&_a=viewarticle&kbarticleid=385&nav=0,80

2796 posts

Uber Geek

Trusted

  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.



870 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: www.controlpanel.co.nz

--cody

398 posts

Ultimate Geek


  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.

2796 posts

Uber Geek

Trusted

  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} ^tom.geek.nz [NC]
RewriteRule ^(.*)$ http://www.tom.geek.nz/$1 [R=301,L]



870 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 new jobs are posted to our jobs board:



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




News »

Trending now »
Hot discussions in our forums right now:

A reason not to shop at dick smith
Created by dsnz1, last reply by AKLWestie on 17-May-2013 22:45 (82 replies)
Pages... 4 5 6


A new project coming to Geekzone
Created by freitasm, last reply by plambrechtsen on 19-May-2013 21:49 (199 replies)
Pages... 12 13 14


HTC One (2013) owners' discussion
Created by Dingbatt, last reply by Finch on 19-May-2013 22:02 (1441 replies)
Pages... 95 96 97


Sitting on a boring conference call
Created by SaltyNZ, last reply by SepticSceptic on 17-May-2013 16:52 (14 replies)

Track my Phone, Car, how to best do it in .nz?
Created by DonGould, last reply by freitasm on 19-May-2013 21:26 (12 replies)

Samsung Galaxy SIII Discussion and Owners Thread
Created by networkn, last reply by Johnk on 19-May-2013 16:32 (5523 replies)
Pages... 367 368 369


Nokia Lumia 925
Created by motorwayne, last reply by Ragnor on 16-May-2013 03:04 (22 replies)
Pages... 2


Chorus is cutting the cost of VDSL to service providers from June 7
Created by maxzzz, last reply by Zeon on 19-May-2013 19:40 (46 replies)
Pages... 2 3 4



Geekzone Jobs »
Most recent NZ jobs in technology:

Exciting Intern Opportunity
Posted 19-May-2013 20:27

Business Analyst
Posted 19-May-2013 18:27

Senior Business Analyst
Posted 19-May-2013 18:27

Senior Business Analyst
Posted 19-May-2013 18:27

Project Coordinator, Reputable Company, Career Pro
Posted 19-May-2013 18:27

Change Manager - Large Financial Services Organiza
Posted 19-May-2013 18:27

Software Developer - Join a market leading company
Posted 19-May-2013 18:27


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.