MyBB Community Forums

Full Version: [Solved] unable to login after domain name change
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
So originally i had the forums under metulburr.com . Whihc still works and is able to login to the forums.


But we setup in apache the real domain finally and now want to use python-forum.io for the main domain. However if you attempt to login under this new domain, it appears like it logins, then goes back to guest, when you get back to the board. 

I did NOT change the location. The path is the same, but I just added a virtual host config file in apache to redirect the new domain to the forums (since there is multiple websites on this server)

EDIT:
in ACP site details i changed all the metulburr.com -> python-forum.io and the forum looked as if the CSS was not loading properly?

I changed all the url values to the new domain, the board url, the homepage url, and then the cookie domain. AFter doing that, i get the CSS problem. IF i change those values back to the old domain name, the forum looks normal again...but no one going in from the new domain can login. 

Basically this has no avail
https://docs.mybb.com/1.8/faq/styles/

EDIT2:
I checked in inc/settings.php but all the old domain names were already changed from the ACP.

EDIT3:
Whats weird is the ACP is normal...CSS and all. But not the board?

EDIT4:
I read somewhere that someone said one of the plugins were their problem, but they dont remember which one it was. I have a ton of plugins installed. Donation page, fast quote, first post only, guest warn, haz spoiler, lock posts, lockoldthreads, mobile mybb 1.8, MWS Syntax Highlighter, My Insert Buttons, Page Manager, Portal Announcement cut off, and related threads. Would one of these plugins cause the CSS to not load or retain the old domain in them? I deactivated all plugins and still had the same result. 

EDIT5:
I went to ACP -> Tools and Maintenance -> Cache MAanger and REbuild and reload all
I saw that it might help, but it didnt appear to do anything.

EDIT6:
Im at the point where i think the only solution is to resinstall the forums using the new domain. But i dont want to do that because ive put so much time into setting this forum up.
How does your .htaccess looks like? See if there is a link pointing back to your old domain in .htaccess
I have root access, so there is no .htaccess

I have been adding the directives in the apache config file directly...and there is no link at all back to the old domain.
python-forum.io is an iframe of 198.199.80.192:80.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta http-equiv='content-type' content='text/html; charset=UTF-8'>
<meta name="VERSION" content="">
<meta name="DATA" content="fwdnode8-ca.web-hosting.com (199.229.254.222)">
<link href=" " rel="shortcut icon" type="image/x-icon">
<title></title>
</head>
<frameset rows='100%, *' frameborder=no framespacing=0 border=0>
<frame src="http://198.199.80.192:80" name=mainwindow frameborder=no framespacing=0 marginheight=0 marginwidth=0></frame>
</frameset>
<noframes><h2>Your browser does not support frames. We recommend upgrading your browser.</h2><br><br>
<center>Click <a href="http://198.199.80.192:80" >here</a> to enter the site.</center>
</noframes>
</html>

It's not a MyBB issue, you need to point python-forum.io to 198.199.80.192.
python-forum.io is pointing to that IP address. 

I dont know why it would be an iframe?

Where are you getting that html that shows its an iframe?

My gut is telling me there is an issue with MYBB. Apache is setup correctly, as well as the domain is pointing to that ip address. And i have had problems before with MYBB of changing domain names that a complete fresh reinstall fixed. I jsut would rather not go through the process of reisntallation.
you can point your domain to the IP from your registrar Domain management panel under DNS options set an A record to specific IP or just use the nameservers provided by your host(if you purchased hosting from somewhere)
Quote:you can point your domain to the IP from your registrar Domain management panel under DNS options set an A record to specific IP or just use the nameservers provided by your host(if you purchased hosting from somewhere)

I have already done that. It is pointed to the IP address. 

If i go straight to the IP address i still get no stylsheets
http://198.199.80.192/

EDIT:
I tried reinstalling MyBB but i still get no stylesheets with the new install.

I have returned the server to a snapshot of when i first posted this thread. 

So i reverted to a snapshot earlier. The problem now lies on the fact that you can login to metulburr.com...but cant when going through python-forum.io. You can make an account on metulburr.com and it act normal,  but not able to login under python-forum.io, then...

If in ACP -> Config -> site details change all URLs/cookies/etc. back from metulburr.com -> python-forum.io, you lose the stylesheets for some reason.
(09-14-2016, 02:59 PM)metulburr Wrote: [ -> ]python-forum.io is pointing to that IP address. 

It's not.

python-forum.io.	1733	IN	A	162.255.119.248

(09-14-2016, 02:59 PM)metulburr Wrote: [ -> ]I dont know why it would be an iframe?

Where are you getting that html that shows its an iframe?

Right Click > View Page Source

Try clicking on any page on python-forum.io. Notice that the URL in your browser doesn't change. That's because it's an iframe.

(09-14-2016, 02:59 PM)metulburr Wrote: [ -> ]My gut is telling me there is an issue with MYBB. Apache is setup correctly, as well as the domain is pointing to that ip address. And i have had problems before with MYBB of changing domain names that a complete fresh reinstall fixed. I jsut would rather not go through the process of reisntallation.

I'd bet my own life that it isn't a MyBB issue. I know that for a fact. You need to point python-forum.io to 198.199.80.192.
Namecheap (the domain provider) is pointing to that IP address...a screenshot
http://imgur.com/a/WjiSv

...and a more zoomed in screenshot so you can acutally see 
http://imgur.com/a/BAORM

I dont know where this IP is coming from
162.255.119.248
That's a URL redirect record. It needs to be an A record.
Pages: 1 2