Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-04-09
10
Medium Priority
?
219 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
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

I wrote this article to explain some important DNS concepts that should be known to avoid some typical configuration errors I often see in forums. I assume that what is described here is the typical behavior of Microsoft DNS client. I don't know …
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month8 days, 14 hours left to enroll

876 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