Solved

How do I redirect from http://www.domainname to http://domainname

Posted on 2009-04-09
10
212 Views
Last Modified: 2012-05-06
Our DNS is hosted on Xrio DeanSoft - Qbalancer. We want our website to be accessed either by using www or without.
0
Comment
Question by:ittsd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 3
10 Comments
 
LVL 5

Expert Comment

by:mfhorizon
ID: 24105345
Create an A record as below

yourcompanyweb.com     destination_IP    TTL

If MX record not created, Create an MX record as below

yourcompanyweb.com     destination_IP/URL    TTL

It should work fine.
0
 
LVL 5

Expert Comment

by:mfhorizon
ID: 24105346
A Record
Short for Address Record: Maps from an IP address to a domain name. An A Record is also referred to as a host or hostname.

CNAME Record
Short for Canonical Name Record: A special type of DNS record in a DNS database used to create an alias from one hostname to another.
For example: If, www.YourHostedDomainName.com, is a CNAME to, YourHostedDomainName.com - then this means that anyone accessing www.YourHostedDomainName.com will be pointed to the same IP address as YourHostedDomainName.com.

This is useful when your IP address changes, since you will only have to update the YourHostedDomainName.com DNS entry and www.YourHostedDomainName.com will automatically point to the right place.

Note: We recommend the use of individual A Records rather than CNAME aliases. It is recognized as a "best practice" among DNS experts to minimize the use of CNAME aliases.

MX Record
Short for Mail Exchanger Record: This DNS record is an entry in a DNS database that identifies the email server that handles email for a given domain or subdomain.

TXT Record
TXT Record provides the ability to associate arbitrary text with the host or other name. The TXT record is used to define the SPF (Sender Policy Framework) information record which may be used to validate legitimate email sources from a domain. See this Knowledge Base article for more information on SPF records.

0
 

Author Comment

by:ittsd
ID: 24105474
Can the domain name and the A record name be the same ?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:mfhorizon
ID: 24106365
i will explain that A reocrds are the name giving to your Hosting IP address.

like my web ip addres is 101.101.101.101, i must know it.

Then i will create A record entries as
www.mywebsite.com
mywebsite.com
0
 
LVL 5

Expert Comment

by:mfhorizon
ID: 24106417
so "www.mywebsite.com" and "mywebsite.com" will automatically direct traffics to my hosting IP addresses where I have hosted my website.
0
 
LVL 5

Expert Comment

by:mfhorizon
ID: 24106424
Sorry I missed your point, Yes, domain name is actually you primary A record.
0
 

Author Comment

by:ittsd
ID: 24106730
I think my question is not clear.

Our zone name in dns is companyname.com
We have a A record defined in this as www

So our website can be accessed with http://www.companyname.com

We need our website to be accesed with only http://companyname.com

I am not able to define a A record for companyname.com as this is the dns zone name


0
 
LVL 5

Accepted Solution

by:
mfhorizon earned 125 total points
ID: 24115728
I am sure I have answered your query. But it seems there is a term difference. I rephrase that In your Zone name  in dns you add another A record with blank value. (not www) or try with a dot ' . 'It should work!!

It seems that the way you define A record is differrent in your web control panel. I am attaching here an example from www.discountasp.net control panel where my website is hosted.

If your problem not solved send me the screenshot here or at kashif.abbas@live.com i will recoomend as required.
a-records.JPG
0
 
LVL 5

Expert Comment

by:mfhorizon
ID: 24115741
Considering highlighted entries above, I am sure you can get similar idea for your web referencing....

Good Luck!
0
 

Author Closing Comment

by:ittsd
ID: 31568429
Thanks. Works fine with a blank entry.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most DNS problems are VERY easily troubleshot and identifiable if you can follow the steps a DNS query takes. I would like to share the step-by-step a DNS query takes from the origin to the destination. _____________________________________________…
I will assume you are running a non-server version of some sort of Windows throughout this article. There are many flavors of Windows since Windows Server 2000 - 2008, XP Home & Pro, Vista Home & Pro, and Windows 7 Starter, Home, Pro, Ultimate, etc.…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question