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

Change domain name?

#1
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?
 

Tracy Perry

Well-known member
#2
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?
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.
 

Tracy Perry

Well-known member
#6
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).
 

Tracy Perry

Well-known member
#8
You also need to redirect the old domain links to new ones.
I'm sure users posted old links into threads...
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.
 

Floren

Well-known member
#9
@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;
}
 

Tracy Perry

Well-known member
#10
@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;
}
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
 

Mr Lucky

Well-known member
#15
It shouldn't cost you anything to change your domain name, outside of what you pay for your new domain name.
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