MyBB Community Forums

Full Version: DNS & Cookies Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, guys!
My DNS is hallowedgaming.com (from GoDaddy) and I want to acces my forum which is in public_html but whenever I access hallowedgaming.com it shows the folder directories from public_html but it doesn't access my forum.

How can I merge these 2 so when I access hallowedgaming.com to access my forum?

In order to get it work I created a redirect but it seems that this redirect affects negatively MyBB cookies and MyFacebook Connect plugin.

I can't get it to work. My domain is hallowedgaming.com but in order to acces the forum from public_html I created a redirect (when you access hallowedgaming.com it will redirect you to hallowedgaming.com/forum) because I don't know how to set up when I access hallowedgaming.com to access directly the forum...

I changed the cookies settings as shown on http://community.mybb.com/thread-126359.html but I can't get it to work. I don't know if it's because of my redirect url because I put the settings correctly and tried many variations but I couldn't succeed.

No user can login to my forum and I was also trying to implement My Facebook Connect but I think it doesn't work because of those cookies...

How can I solve this?
OK, public_html is generally set up as your DOCUMENT_ROOT (eg. what shows up when someone navigates to http://www.example.com/). None of the files in that folder match your DirectoryIndex directive, so your server showed a directory listing instead. You installed MyBB under the forum folder, so it is referenced as http://www.example.com/forum/. If you won't have anything else on this domain except MyBB, then you may want to move everything from the public_html/forum directory to the public_html directory. This means that http://www.example.com/ will point at your MyBB installation. IMHO, I like the way your redirect works.

As for the cookies, change your cookie domain to .hallowedgaming.com so the cookies will be passed to both hallowedgaming.com and www.hallowedgaming.com. I generally have the cookie path set to / - meaning they are sent to every page on the domain. You will want to set the cookie prefix to something so it won't pollute your global cookie space. mybb_ or forum_ are good choices for a cookie prefix.
Go To ACP > Configuration > General Configuration > Cookie Prefix
Remove that text & leave it blank

& then see if it worked or not because sometimes this happens to me too Smile
Thanks for replying, kind gentlemen. It really helped me ^_^!