Submit Your Article Forum Rules

Results 1 to 3 of 3

Thread: Two domain names - one hosting acct

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Posts
    1

    Two domain names - one hosting acct

    Hi,

    Is it possible or a good idea to put the same DNS names for 2 different domain names?

    I want two domains to point to the existing website, but need the new domain to be the main site and the old domain name to be the pointer.

    Trying to find a simple way to do it - rather than opening a new hosting and swapping all the files etc.

    Thanks - hope I've explained it correctly.

    Shawn

  2. #2
    Senior Member Dragonsi's Avatar
    Join Date
    Dec 2003
    Posts
    343
    Hi bishop,

    Have you tried emailing your hosting company and ask them to set up a perminant redirect on the old domain name?

    Failing that, try using this meta tag on the old site:

    <meta http-equiv="refresh" content="1;URL=http://www.newdomain.com" />
    This will have to be on an index page under the old domain's directory and will refresh the browser after 1 sec to your new domain.

    If your hosting package will not allow you to have 2 domains, try looking for another package or upgrade. There are plenty of cheap hosting packages that will allow several domains, each with the same DNS IP address (shared hosting).

    Good luck.
    www.westwalesweb.com
    Website development & ICT solutions.

  3. #3
    Senior Member netman4ttm's Avatar
    Join Date
    Aug 2003
    Posts
    350
    Multible websites can easily share the same ip adresses.

    This is the quick and dirty answer.

    Using an examble of a Class C network, with x.com and y.com on server webby.xy.com this is the way I would do it.

    192.168.1.1 = name server (biggy.xy.com)
    192.168.1.2 = slave name server (quicky.xy.com)
    192.168.1.3 = web server (webby.xy.com)

    named.conf would have 2 entries

    zone x.com

    zone y.com

    going to db.x.com and db.y.com respectively.

    these databases would show biggy as the SOA

    and the following

    db.x.com

    webby IN A 192.168.1.3

    ;Aliases

    www IN CNAME webby.xy.com.

    db.y.com

    webby IN A 192.168.1.3

    ;Aliases

    www IN CNAME webby.xy.com.

    This is not a wotking examble the network for one thing is unusable and neither named.conf nor the databases are complete. but the lines are correct.

    The web server, if configured properly will responde with the correct page by checking for the domain name.

    When you register the domain name you can use the same ip addresses for both domains.
    "The future is here. It's just not evenly distributed.

Similar Threads

  1. Web Hosting and Domain Names Offer 2009
    By designbuyers in forum Services for Sale/Hire
    Replies: 0
    Last Post: 11-18-2009, 01:49 AM
  2. .US Domain Names and SEO
    By leesw in forum Search Engine Optimization Forum
    Replies: 1
    Last Post: 01-18-2009, 01:12 PM
  3. Web site desig, domain names, hosting, logos, SEO, marketing
    By janeth in forum Marketing Strategies Discussion Forum
    Replies: 17
    Last Post: 01-09-2004, 09:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •