XF 2.1 How to change url from domain.com/forum to forum.domain.com on Xenforo 2x


New member
Hello, I tried to look for clear instructions on how to install xenforo 2 as forum.domain.com. I was unable to find anything. I installed my forum as domain.com/forum. Now, I need to change the address to forum.domain.com. The thing is that I pointing a domain to Webuzo control panel from namecheap.com. The forum on address domain.com/forum works fine. Now I need it to work as forum.domain.com. Could you please help me to do so in the easiest way possible? I've already tried to play with settings during the previous installation, but it was not successful. Please, post a link to an example or some tutorial, or code? Thank you!