Solved

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

Posted on 2009-04-09
10
207 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
 
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Resolve DNS query failed errors for Exchange
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now