Change domain name?

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?
 
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.
 
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).
 
You also need to redirect the old domain links to new ones.
I'm sure users posted old links into threads...
 
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.
 
@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 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
 
@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
 
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
 
after using the above method to change my domain from mydomain.com to mydomain.com/forum
it works well if On visit homepage, but all other pages are not working.. showing below!

Not Found​

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
 
Most likely you didn't move the hidden .htaccess file from the root to /forum.

That is required when Friendly URLs are enabled.
 
@Brainwayz


Setup > Options > Basic board information:


Tools > Rebuild caches:

  • Rebuild forums
  • Rebuild threads
  • Rebuild search index


Setup > Cron entries

Run now: Rebuild forum statistics​


The internal links in posts, will not work unless you schedule a redirect or run a query on the database.
 
Top Bottom