LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-02-2023, 10:03 PM   #1
ck_chik1
LQ Newbie
 
Registered: Aug 2020
Posts: 7

Rep: Reputation: Disabled
website re-direct


I have a existing website , setup by apache on linux , the URL is www.aaa.bbb.ccc.com , I just setup a new website by using weebly ( website builder ) , the URL is www.bbb.ccc.com

I want to re-direct the page from www.aaa.bbb.ccc.com to www.bbb.ccc.com , can I do the re-direct on DNS server ?

As I don't want to update apache setting to do the re-direct , as this may need to keep the exisint website , so I prefer a way to re-direct website without keep the existing website .

Thanks
 
Old 02-03-2023, 12:17 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Yes you can do this with a DNS CNAME record.

Evo2.
 
Old 02-03-2023, 02:17 AM   #3
ck_chik1
LQ Newbie
 
Registered: Aug 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Yes you can do this with a DNS CNAME record.

Evo2.
thanks reply ,

is there any link that have guideline how to setup DNS CNAME record ?

thanks
 
Old 02-03-2023, 08:19 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by ck_chik1 View Post
thanks reply ,
is there any link that have guideline how to setup DNS CNAME record ?
There are loads of them; put "how to setup dns cname record" into any search engine, and go from there. Why are you asking us to look one up for you?
 
Old 02-05-2023, 08:42 PM   #5
ck_chik1
LQ Newbie
 
Registered: Aug 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
thx reply ,

I find the below say that DNS can not do the redirect , may I know which one is true ?

https://webmasters.stackexchange.com...of-the-website
 
Old 02-05-2023, 09:34 PM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by ck_chik1 View Post
thx reply ,

I find the below say that DNS can not do the redirect , may I know which one is true ?

https://webmasters.stackexchange.com...of-the-website
That post is asking to use DNS CNAME to do something that is completely unrelated to DNS. It is unrelated to your question.

Evo2.
 
  


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
squid default website at direct access nilshug Linux - Networking 2 05-04-2010 05:52 AM
direct rendering: Yes :: (but applications say direct rendering is not possible?) AbsoluteMonkey Fedora 0 12-16-2008 09:44 PM
Protecting the content of your website from remote/direct linking Basel Programming 4 01-26-2006 09:35 PM
Best way to ALOT of files in a direct to other direct? packman Linux - General 2 10-21-2002 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:43 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