LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-11-2009, 05:53 PM   #1
mgichoga
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 42

Rep: Reputation: 16
bind9 and different web host


I have a dns server running bind9 as well as the web server for the site. I recently decided to move to another webhost to ease convinence of cms for the users. However I'm having problems with dns, I'd like for e.g

http://some-example.com and http://www.some-example.com

to point to the new webhost.

I got the www part down to go to the new webhost via CNAME records , just not the one without www

relevant config lines

www IN CNAME new-webhost.com.

what else do I have to change?

Thanks.
 
Old 08-12-2009, 12:01 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
How about:
Code:
some-example.com. IN CNAME new-webhost.com.
Don't forget the dot (.) at the end of your domain name.
 
Old 08-12-2009, 01:10 AM   #3
mgichoga
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 42

Original Poster
Rep: Reputation: 16
thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind9 ,host does reslove a dns name but ping says unknown host Byenary Linux - Networking 10 01-12-2011 01:33 AM
try install host ; bind9-host uninstalled , how to undo sudo apt-get install host? shojaru Linux - Newbie 0 06-11-2009 12:45 AM
bind9-host? Do I need it? deostroll Linux - Newbie 5 04-19-2009 06:35 AM
I setup Bind9 for my own hostname/website, but can't see it on the web... rtoney5 Linux - Server 8 02-25-2009 06:50 AM
BIND9 reject characters in host names jlinkels Linux - Software 1 02-10-2006 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration