Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

DNS / Web Server Issues

Posted on 2005-03-23
11
Medium Priority
?
234 Views
Last Modified: 2010-04-19
I am having trouble setting up a DNS server and a web server. I can view the webpage using the IP Address, but not the domain name.

The IP Address of the website is 209.242.3.139
The static IP address on the maching int he network is 192.168.1.5
The domain name is bmedia-online.com
The domain is pointing to ns1.bmedia-online.com and ns2.bmedia-online.com

I think I have DNS configured somewhat correctly.
The active directory is bmedia-online.com

Inside of the active directory "Forward Lookup Zones" I have the following
(same as parent folder)     Start of Authority (SOA)
(same as parent folder)     Name Server (NS)     ns1.bmedia-online.com.
(same as parent folder)     Name Server (NS)     ns2.bmedia-online.com.
ns1                                  Host (A)                    192.168.1.5
ns2                                  Host (A)                    192.168.1.5
bmedia-web                     Host (A)                    192.168.1.5
(same as parent folder)     Host (A)                    192.168.1.5
www                               Alias (CNAME)           bmedia-online.com.


I can supply screenshots if needed of everything on the system.

Thanks.




0
Comment
Question by:jacobbeckley
  • 6
  • 5
11 Comments
 
LVL 104

Expert Comment

by:Sembee
ID: 13617205
Is the web site inside or outside your network?

If it is inside then you need to configure it with an internal IP address.
The entry for www looks wrong. Why did you configure it with an ALIAS?

You don't have an entry in your dns for (same as parent folder) with the IP address of the web site, so www will not work.

Simon.
0
 

Author Comment

by:jacobbeckley
ID: 13617432
The web site is in our network.

I do have it configured through TCP/IP as a static IP address (192.168.1.5)

I do not understand what you mean by your last statement. Should I create a CNAME, A, NS? If so, which IP the 192.168.1.5, or the 209.242.3.139?

Thanks.
0
 
LVL 104

Expert Comment

by:Sembee
ID: 13617671
This is the line that I am referring to:

www                               Alias (CNAME)           bmedia-online.com.

An alias basically tells the loolup item to lookup the address shown instead.
However in the configuration shown you don't have an IP address for bmedia-online.com itself. This would normally be shown as (same as parent folder) would be type A and would have an IP address.
However I wouldn't recommend that you do that.

Instead, replace this CNAME with a host type A and enter the INTERNAL IP address of the web site.

www                     Host (A)                    192.168.1.5

Voila - all done.
This obviously wouldn't work for people outside of your network - they will need the external IP address. However you will be configuring that on external DNS servers, probably at the ISP or domain name registrar.

Simon.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:jacobbeckley
ID: 13617726
Simon

I made allt he changes you requested. They all make sence, but the website is still not working.

You mentioned in your last post that I would be configuring that on the external DNS servers. Just to clarify my setup. The 192.168.1.5 is my DNS and my web site. What more do you think I need to configure?

Thanks for all your help.
0
 
LVL 104

Expert Comment

by:Sembee
ID: 13617764
You cannot use 192.168.x.x on the Internet. They will not route. Therefore for this web site to be accessible on the Internet you will have to use separate DNS servers that contain routable external IP addresses. You do not use Active Directory DNS for external DNS - it exposes too much information and will give out wrong information.

Have you checked whether DNS is working correctly?
Drop in to a command prompt and type

ping www.bmedia-online.com

What IP address does it try to ping?

As for externally, I cannot ping www.bmedia-online.com - I cannot even do an NSLOOKUP on it, so your external DNS isn't working either.

Simon.
0
 

Author Comment

by:jacobbeckley
ID: 13618137
Thanks for the response.

I understand that I can not use 192.168.1.x on the Internet.

Then I guess I should backtrack and ask you a few questions.

1. Is it possible to set up a server that acts as a DNS and a web server at the same time?

2. Is there another way to accomplish what I am doing.

To give you a bit more background, here is what I am trying to do.

I currently have two servers, both DELL. I am trying to have one be a web server and the other an Exchange server.

Since my ISP T1 provider is not handling DNS on their end, I am stuck with having to accomplish this task.  

3. Is it possible for me to set the boxes static IP to 209.242.3.139? The box does have two NIC cards?

Please let me know what you think.

Thanks,
Jake
0
 
LVL 104

Expert Comment

by:Sembee
ID: 13621132
While your ISP isn't handling DNS you should be able to find someone can. Your domain name registrar will normally do this for you. You cannot conform with the DNS best practises of having DNS servers on two separate subnets (for redundancy).

Unfortunately you don't have enough servers to be able to run your own DNS. You would need four servers - two to run internal DNS and two to run external DNS.
You would also need two external IP addresses, need to make changes to your firewall to allow DNS requests to come in etc. It all becomes too messy. Leave it to the domain name people - they are used to running servers for this purpose.

Simon.
0
 

Author Comment

by:jacobbeckley
ID: 13621895
Simon,

Thanks for the response.

If I need to get more servers, and another IP, I can do that. I need to set up this configuration this way.

I will close this question as I can see that it could go on forever.

Is is possible for me to set the static IP address of the one DNS server to the 209.242.3.139? and if so, will this allow me to set up forward lookup to the same machine? Can a DNS server also be a web server?

I am going to be working on this all day today. I would really like to not go down the wrong path.

Thanks,
Jake
0
 
LVL 104

Accepted Solution

by:
Sembee earned 2000 total points
ID: 13622847
The key thing is to keep active directory DNS and internet DNS separate.
So if you go down the path of having your DNS internally, it needs to be on machines with their own non-AD integrated DNS servers. No machines inside will reference these servers - the AD servers will be used for that as they will need to serve internal IP addresses.

You need to read up on split DNS implementations. This is what you need to do for your network.

There is no problem with a web server also being a DNS server - as long as you are careful about what server is serving internal and external DNS.

Simon.
0
 

Author Comment

by:jacobbeckley
ID: 13623043
Simon,

I understand that I need to keep the internal and external DNS seperate. I am not too concerned about geting the internal domain name resolution working yet. I am more concerned with getting the external domain name resolution up and working.

The Split DNS is going to be the final solutions, but I need to get the external working first.

If you look at the screens I have posted above, maybe you could find something that is wrong. Something that is causing the PING, TRACERT, etc not to work.

Let me know if you find something.

Thanks,
Jake
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Integration Management Part 2
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

580 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