1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Change domain name?

Discussion in 'Server Configuration and Hosting' started by boddy_why, Jun 16, 2013.

  1. boddy_why

    boddy_why Member

    Hey All!

    So here is the problem... I need to change a domain name for my xenforo forum, but keeping the same hosting.
    Let's say, I changed the domain name, will the forum work properly?
    What should I change in forum settings for it and will I have a problem with my forum after all?
    And what about licence?
     
  2. Tracy Perry

    Tracy Perry Well-Known Member

    I think the only thing you will need to change is the Board URL in the ACP Basic Board Information. Of course, you will need to change any related email addresses you have set for the site also.
     
    boddy_why likes this.
  3. Andrej

    Andrej Well-Known Member

    Go to http://xenforo.com/customers/ and click "Edit license details". Update the URL.

    Then update Board URL in Admin CP -> Options -> Basic Board Information.
     
    boddy_why and Tracy Perry like this.
  4. Tracy Perry

    Tracy Perry Well-Known Member

    Knew I forgot something.. that's what happens when you are updating your site settings for a wallpaper gallery. Older I get the less I can multi-task. :rolleyes:
     
    boddy_why likes this.
  5. boddy_why

    boddy_why Member

    thank you, guys!
     
  6. Tracy Perry

    Tracy Perry Well-Known Member

    Ironically, I just did this myself. Took about 3 minutes to do. :p
    (that included updating the postfix main.cf and the servers host file).
     
  7. Floren

    Floren Well-Known Member

    You also need to redirect the old domain links to new ones.
    I'm sure users posted old links into threads...
     
  8. Tracy Perry

    Tracy Perry Well-Known Member

    Doubt it... since I'm the only two users right now. :ROFLMAO:
    I'm pretty sure that
    Code:
    server {
        listen 80;
        server_name www.apple4me.net apple4me.net;
        return 301 http://sayapple.com$uri;
    }
    
    should take care of it also.
     
    lazy llama likes this.
  9. Floren

    Floren Well-Known Member

    @Tracy Perry Only if he uses Nginx. :)
    BTW, the proper format is:
    Code:
    server {
            listen       1.2.3.4:80;
            server_name  apple4me.net *.apple4me.net;
            rewrite ^    http://www.sayapple.com$request_uri? permanent;
    }
     
  10. Tracy Perry

    Tracy Perry Well-Known Member

    yeah, but for some reason I never could get rewrites to play nicely in the format you outlined and was advised that my example was a valid process.. of course, I was trying that when I first went over to it from Apache.;)
    http://nginx.org/en/docs/http/converting_rewrite_rules.html
     
    lazy llama and Floren like this.
  11. Floren

    Floren Well-Known Member

    @Tracy Perry Nice one, I did not know about it. Always use the $request_uri, BTW.
    It proves that I was using nginx from before 0.9, I actually started with 0.4 development. :D
     
  12. Sutekh

    Sutekh Member

    Is it costly to change the domain name but keep the same hosting?
     
  13. KeVo

    KeVo Active Member

    It shouldn't cost you anything to change your domain name, outside of what you pay for your new domain name.
     
    Sutekh likes this.
  14. Sutekh

    Sutekh Member

    Thank you!
     
  15. Mr Lucky

    Mr Lucky Well-Known Member

    That would depend on the hosting package. If the package you have only allies one domain, site, or database you will need to upgrade to one that allows two at least. If you want to keep a redirect in place on the old domain
     

Share This Page