Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 12 of 12
  1. #1
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts

    A question on DNS.

    Hi friends,

    I've a website registered at 1and1 (say abcd.com)and another website registered and hosted at ipowerweb(say mnop.com)

    Currently, when users access abcd.com will see the contents in mnop.com through the " Destination: Forwarded (Frame Redirect) to : " option. Or simply using a frameset in the index page.

    Now I want to change the DNS, so as to standardise it.
    My question is how this DNS stuff works? I believe the primary and secondary is common for all websites hosted in a particular host. By changing this, how can I point exclusively to my pages?

    regards,
    art
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #2
    New Coder
    Join Date
    Aug 2007
    Posts
    25
    Thanks
    1
    Thanked 4 Times in 4 Posts
    I'm not sure if I'm completely understanding your question, but here goes.

    You'll need to get abcd.com hosted, first. At 1&1, remove the forwarded option, and set the nameservers to whatever your host tells you (they will indicate that when you setup the account).

    If mnop.com is on a cpanel host (probably others, as well, but I'm only familiar with cpanel), you can have abcd.com be an addon domain, so they're controlled through the same cpanel. You will need to register it in the cpanel as an add-on domain, switch the nameservers, and provide the files for it.

  • Users who have thanked Zurvan for this post:

    abduraooft (11-20-2007)

  • #3
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    OK, I've added an additional domain pointer to my second domain having the same name as that of first one.

    Then edited the DNS of my first domain to ns1.***.com &
    ns1.***.net. Is it enough? Suppose,if someone has the same DNS address and added a pointer to their domain like abcd.com, how the browser get pointed to my contents?

    Am I missing anything?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #4
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    ?

    Your nameservers aren't unique. As an add-on domain, any connexions to that address will automatically redirect to your main domain. I can't really make sense of your question

  • #5
    New Coder
    Join Date
    Aug 2007
    Posts
    25
    Thanks
    1
    Thanked 4 Times in 4 Posts
    You set your DNS in the registrar settings. The nameserver information is provided by your web host. This DNS information is spread through the internet, so that whenever somebody looks for your website, they get directed to the correct servers. Nobody else can set nameservers for your domain, it can only be done within your registrar account.

    If you're still unsure on things, I strongly suggest you contact your Hosts tech support, to ensure you have everything set up the way you want it.

  • #6
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Well, after a long shout with the hosting team for about 6 days, it worked.

    Now let me ask another doubt.
    As you all know, the DNS propagation delay is a problem to transfer a live site from one host to another. Can I change one nameserver to ipowerweb while keeping the other at 1and1 till the change will get propagated, and then change the other one also to 1and1?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #7
    Regular Coder saeed's Avatar
    Join Date
    Oct 2002
    Location
    West Yorkshire
    Posts
    343
    Thanks
    32
    Thanked 0 Times in 0 Posts
    Hi abduraooft,

    you query seems related to mine which i did a month ago.

    I've got two websites say abc.com and xyz.com both hosted to different servers.. xyz.com start giving me hardtime

    Now this is wht i did

    I asked my abc.com hosting company (hypermart.net) and they told me to point my domain on my hypermart account meanwhile i send request to xyz.com company to change dns enteries to ns1.hypermart.net and ns2.hypermart.net. It took 3 working days. later on I made a sub directory and point my xyz.com domain to that sub directory on hypermart account.

    thts it.

    abc.com is working fine ... as it was.

    xyz.com is working normally ... which is now hosted at hypermart (where abc.com is uploaded).

    All I have just transfered my hosting and using available space on abc.com account.

    hth

    Saeed.
    Don't click on this!

    #!/usr/bin/saeed

  • #8
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Quote Originally Posted by abduraooft View Post
    As you all know, the DNS propagation delay is a problem to transfer a live site from one host to another. Can I change one nameserver to ipowerweb while keeping the other at 1and1 till the change will get propagated, and then change the other one also to 1and1?
    What problem - you keep the hosting at both places while the propogation takes place.

    If you were to update one nameserver and not the other until the first completes then you just double the length of time it takes to propogate.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #9
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Quote Originally Posted by felgall View Post
    What problem - you keep the hosting at both places while the propogation takes place.

    If you were to update one nameserver and not the other until the first completes then you just double the length of time it takes to propogate.
    Quote Originally Posted by http://en.wikipedia.org/wiki/Name_server
    Every domain name is required to have a primary nameserver (eg. ns1.domainname.com), and at least one secondary nameserver (ns2.domainname.com etc). This is to ensure that the domain is still reachable if a nameserver becomes inaccessible.
    Doesn't it mean that they are complimentary and if one of them is not available, it will look up for the other?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #10
    New Coder
    Join Date
    Aug 2007
    Posts
    25
    Thanks
    1
    Thanked 4 Times in 4 Posts
    You would just copy your site to the new host, and then update the nameservers. Keep your existing hosting up for 3 or 4 days to ensure everything switches, and then close it down. That way you get a smooth, seamless transition.

    Don't change one NS then the other... that just doubles the propogation time, and serves no purpose. You're still dealing with two sites, just for twice as long. The unavailable comment on Wikipedia refers to the nameservers themselves, not the sites they point to.

  • Users who have thanked Zurvan for this post:

    abduraooft (11-29-2007)

  • #11
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,865
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    OK, that makes sense. But my situation is different as described in my OP.
    ie abcd.com has no hosting space and is using a frameset to get contents from efgh.com ,where all my data is located, and I don't want to move it anywhere else, but this domain name is not given to public(I know it is easy to know for an expert though)

    I just want to remove the frameset by changing the DNS of abcd.com to that of efgh.com, but searching for an alternate to reduce the prorogation delay( since at that time,there is no way to give a message to users other than browser's "server not found")
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #12
    New Coder
    Join Date
    Aug 2007
    Posts
    25
    Thanks
    1
    Thanked 4 Times in 4 Posts
    So you want to redirect abcd.com to efgh.com? You don't need to use the DNS anything for that.

    Setup a 301 redirect on abcd.com, and that should take care of it.


  •  

    Posting Permissions

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