Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2009-04-09
10
Medium Priority
?
215 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
Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

 
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 375 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

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. _____________________________________________…
This article explains how a domain name may be inadvertently appended to all DNS queries. This exhibits as described below. (CODE)And / Or: (CODE) Cause This issue can occur in either of these two scenarios. EITHER 1. A Primary DNS S…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

722 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