Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.

How to forward multiple domains.

Discussion in 'General Board' started by scottsmith, Jul 27, 2011.

Thread Status:
Not open for further replies.
  1. scottsmith United States

    scottsmith Active Member

    Joined:
    Jun 2010
    Posts:
    769
    Likes Received:
    12
    As a very lazy person what's the easiest / quickest way to forward say 300 domain names in my Nominet account (my TAG account) to one single URL? If they where with someone like 123 reg then there is an option in the control panel but Nominet don't seem to offer this?

    I guess I could create each domain one by one on my dedicated server and then forward them but that would take days! Must be a simple way? How do you guys do it? Some kind of script?

    Thanks in advance.

    Scott
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
    IWA Meetup
     
  3. invincible

    invincible Well-Known Member

    Joined:
    Feb 2005
    Posts:
    4,203
    Likes Received:
    101
    Nominet are the Registry, not your Registrar. They don't host your DNS so they wouldn't be able to offer you any DNS related features.

    Who's your Registrar? When you've established that, see what features they offer. Alternatively find a Registrar that offers good bulk domain name management and extra features such as URL redirect and forwarding (I don't know of any).

    There is no obvious easy and quick way to do what you want because the various ways all require some degree of effort (which might mean just mean retagging all of your domain names). If you want zero effort and maximum customisation then consider paying a developer to configure DNS for you so multiple domain names can share a single zone file and also have him/her set up a virtual host on your server so you can serve content or redirection scripts as you please. :) In the long term having what you want designed for you will save your time.
     
  4. jimm United Kingdom

    jimm Active Member

    Joined:
    Feb 2008
    Posts:
    683
    Likes Received:
    13
    If you have a list of the domains its a trivial job to add them all to bind.
     
  5. jimm United Kingdom

    jimm Active Member

    Joined:
    Feb 2008
    Posts:
    683
    Likes Received:
    13
    Im not going to write the script as I would have to actually do it and test it to get it perfect but the idea is within a bash script:
    1. take your list of domains
    2. break into single domains (maybe by line or comma etc)
    3. for each domain echo your predefined zone file into a new file and add to the conf
    4. when all thats done restart bind

    Of course I could be hired to actually write it ;)


    [edit]
    Another option would be a tiny server which would answer to any name pointed at its name servers.
    This couldnt be used along side other decent zones and the server really must not be used for any kind of look up.
    But its cheap and easy. A couple of people here have taken that from me and it works well for them.
     
    Last edited: Jul 27, 2011
  6. aquanuke

    aquanuke Well-Known Member

    Joined:
    May 2005
    Posts:
    2,040
    Likes Received:
    42
    If you have your own server then you can just add a wildcard to accept any domain. All you need is two entries one in the apache conf and a bind entry.
     
  7. jimm United Kingdom

    jimm Active Member

    Joined:
    Feb 2008
    Posts:
    683
    Likes Received:
    13
    But you wouldnt want to...
    It can cause all sorts of issues if you havent got everything configured properly (ive seen yum, apache, the MTA, MySQL, monitoring software and other stuff all break) because everything gets resolved as local. For the sake of £15 a month I wouldnt be bothered with the effort to ensure everything still worked and was set up right.
     
Thread Status:
Not open for further replies.