LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-11-2011, 05:02 AM   #1
tjlinux
LQ Newbie
 
Registered: Nov 2011
Posts: 1

Rep: Reputation: Disabled
DNS Server Problem - using Ubuntu Linux 11.04


I created a web site for a new subdomain, newsub.mydomain. I can access it only if I use www.newsub.mydomain. I would also like to be able to drop the www when accessing it.
 
Old 11-11-2011, 05:23 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by tjlinux View Post
I created a web site for a new subdomain, newsub.mydomain. I can access it only if I use www.newsub.mydomain. I would also like to be able to drop the www when accessing it.
then you have to set up two separate DNS records - one for sub.example.org, and one for www.sub.example.org, and you have to make sure that the server responds to both host names (probably create two virtual hosts for that site). Did you do think of that?

[X] Doc CPU
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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




All times are GMT -5. The time now is 06:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration