DNS adressing problem

Posted on 2006-06-05
Last Modified: 2010-03-19

Company I work for is going through name change. As such, some of their web-based applications need new addresses added, so sites are accessible via its previous and new URL.
Here is an example:
Our customers can currently access our web-ordering portal via URL (xxxx being the old company name). New URL that would toint to the same site would be (yyyy being the new company name).
I have created new forward lookup zone and added New Host with an IP addresses pointing to the servers which host our ordering web portal. I have also added a new addess to correct subnet in Reverse Lookup Zone. Literarly, I have copied the same settings as for address.

The trouble is that our servers (there are two load-balancing servers) also host our external website, so when we enter, we are redirected to our company's webpage, It is the same for our other web-based apps, such as - they all redirect to our company's homepage.

As I am not much of a Server Guy, I hope someone will collect easy points as solution is, I am sure, starting me in the eye.

Question by:OmaBatlak
    LVL 7

    Assisted Solution

    Your problem is definitely NOT at the DNS server but at the web server.
    My guess is that your webserver is configured to use named-based virtual hosts (meaning that it serves different websites on different DNS addresses) with a default site that redirects to your company's homepage.
    You should check the virtual hosts section on your webserver's configuration and add the new DNS name to be recognized as the orders website.
    If you are unable to figure out how to do this, please reply and tell me which server are we talking about (apache/IIS/etc).
    LVL 26

    Assisted Solution

    by:Leon Fester
    You should be able to resolve the above issue by adding host headers for the site names. Your site probably already has host headers for, but not for

    Your main site does not have host headers enabled and is thus displaying your main page to any request that is sent to that IP. Host headers are especially important when using the same IP for different DNS names/web sites.
    LVL 8

    Accepted Solution

    in IIS manager (assuming IIS), go to the properties of the website, click Advanced next to the IP Address, you should see host headers for "" (or whatever relative website you are looking at). add another host header for "" (or whatever relative).

    apache would be done using the <VirtualHost> directive in httpd.conf. copy the <VirtualHost ...>...</VirtualHost> that applies to the old site, duplicate it for the new site with appropriate information.

    Author Comment


    How easy was that!!

    Once I new header and associated it with server IP address and a TCP port 80, it worked like a charm.

    Thanks guys!


    Author Comment


    new addresses (eq. can only be seen from within our network. They cannot be accessed from outside. Any hints?
    LVL 26

    Expert Comment

    by:Leon Fester
    You'll need to register the new A records with your upstream provider or ISP. Your local DNS is only availble on your local Network. Then again, you may need to see how forwarding to your webserver is handled by your firewall. It may require an additional entry for the new site names.
    LVL 8

    Expert Comment

    the most common scenario is company-x has DNS hosted at outside hosting server (it - network solutions, enom, everydns, etc), but then they also host the domain internally for their own use, rather than query the outside server directly. this is often done to make things nice and speedy internally, or if you have domains you want available internally that should not be resolved externally.

    go to and look up the NS records for your domain. if it is not your local server, you will need to contact your DNS host and have the orders/etc records added.

    of course, depending on your SOA record, it may just be a matter of propogation. if you are using microsoft dns server, the serial is automatically incremented with every change, but if you are using bind, make sure you increment the serial in the SOA properly, and wait for the TTL/expire before thinking that it is not working (may take up to 24 hours)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    761 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

    12 Experts available now in Live!

    Get 1:1 Help Now