Avatar of tx_it_guy
tx_it_guy
Flag for Afghanistan asked on

DNS question

Hello I have a windows 2008 server running DNS. everything is running good except for one problem. when i open an internet explorer window and type in companyname.com is thinks and then spits out a bing search page. I need it where when the users type in companyname.com it directs them to our internet website.

in DNS, I have the following setting but it does not seem to work:
DNS > forward lookup zone > fritzind.com > and then a www record (host A) that points to our webserver.

what am I doing wrong? I really need to get this working
DNS

Avatar of undefined
Last Comment
josika

8/22/2022 - Mon
Andy Keeney

is fritzind.com also the fqdn of the domain internally?    is your webserver hosted internally or externally?
Andy Keeney

and have you tried www.fritzind.com in a web browser?
tx_it_guy

ASKER
this is how it looks now:

it is hosted internally
Doc1.docx
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER CERTIFIED SOLUTION
josika

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
tx_it_guy

ASKER
yes, I can type in the FQDN in a web browser and it works. type in fritzind.com and it cannot find it (intersting though this happens in IE, using Firefox it redirects to the www with no problems.
blakogre

When a client/user pings www.yourdomain.com -- is the result the IP of your webserver?

If it's not: they  need to be configured to use your internal DNS server.

Andy Keeney

Since it is hosted internally, wouldnt it make more sense to just point to the internal IP instead of the external?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
josika

Firefox will append the www by itself, I'm not sure about IE.

Try this, delete the www A record and create it as a CNAME record pointing to the host name of your web server.
tx_it_guy

ASKER
i have multiple A records for the domain (mail, BB, webmail, etc..
tx_it_guy

ASKER
Try this, delete the www A record and create it as a CNAME record pointing to the host name of your web server..............  when you say hostname you mean the webserver name or IP?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
josika

The webserver name.
josika

FQDN ^
blakogre

Ah, so they're going to a public IP.....

I'd still make sure it pings properly, but when a client goes out your firewall, and back in (presuming the webserver is internal) that doesn't always work well, and may be a part of the issue if this public IP is actually natted or pointing to an internal server.



⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
kdgoodknecht

Do you have a (same as parent folder) A record pointing to your sebserver?
tx_it_guy

ASKER
this is how it looks now, still same problem. type in fritzind.com and it come up with the browsers search page.
Doc2.docx
tx_it_guy

ASKER
Do you have a (same as parent folder) A record pointing to your webserver? - no, should I?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
josika

Change the data on the CNAME record to the FQDN of your web server.  The internal name.

So: webserver01.fritzind.com would be the data.
tx_it_guy

ASKER
i took the A record out and added the cname. all access to the website went down (including the www). I deleted the CNAME and added the A record back and now people can hit it with the www, just not http:\\fritzind.com.

the webserver is internal, and on the DMZ. Any other ideas? any way to set a default route where if no prefix (mail, www, etc.) it automatically redirects to www?
josika

Ok, right click on fritzind.com and select New Host (A) record.  Leave the name blank and enter the IP address of the web server.  Select 'Create associated pointer record' and them click add host.

Make sure you test this on the DNS server your machine is pointing to so you don't have to wait for replication.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
josika

Also, which of the DNS zones in the screenshot are the machines you're testing this on?

Whatever DNS zone the machines are in, go to all of the DNS servers that are name servers for the domain and add the Forwarder for fritzind.com to point to a DNS server that has the fritzind.com zone defined on it.
tx_it_guy

ASKER
josika - this is all being done in the fritzind.com zone.

also when you say enter the ip address of the server, are you referring to the IP address of the website or the public IP address of the webserver itself?

oh, and THANK YOU for your help!!
josika

Whichever IP you can hit from your internal machines.  Probably whatever you had the A record for 'www' set to before since that was working.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck