By dothedamnthing on
OK i have a site up with a static ip of 173.14.119.153 i have when you type richmondadultentertainment.com if forwards to that ip. My problem is if you go to the richmondadultentertainment.com try to login it says you did but is not retaining the permissions for that node but it works fine if you go to the direct ip and login works just fine. I thought this would be a seting in the settingsphp and talks about it but not sure what i need to change it to. I would apreciate any help on this matter.
Comments
=-=
check $base_url in settings.php
check .htaccess if you made any changes to it, while using the ip addresss
if site was running before DNS, ensure to clear your cache tables in the database as well as the sessions table to ensure everyone logs out and gets a new session.
Also wouldn't hurt to clear temp internet files and cookies in your browser
forwarding
i should make the baseurl richmondadultentertainment.com?
or the 173.14.119.153
=-=
erp, sorry I meant $db_url
base url should likely be left commented out.
login
its weird when you go to login it says you are logged in but keeps the login and and does not give permissions but ig you go directly to ip
works great
=-=
How long has it been that the DNS has been pointing to the ip?
It may not be 100% propogated yet?
forward
thats what i thought but its been like a week now
my .htaccess file looks like
my .htaccess file looks like mess
Edited by: VM Removed pasting of .htaccess file=-=
In future use pastebin.com to copy files or long snippets to and link to them on drupal.org. Don't paste them here.
if you've never altered it, it likely isn't the problem, however you can get a new .htaccess file if you want and compare them.
what exactly is does this mean:
What talks about it? an error message?
Did you at any time add the ipaddress anywhere ? that hasn't yet been removed?
no error
i have nothing pointing to any ip at all when you go to the site as richmondadultentertainment.com i am using a forward with masking to 173.14.119.153/ ig you go directly to ip everything works great if you go by typing in domain and get forward wont let me login shows me as i did but does not take login away and dont get login succesful splash at top of page but like i said works fibe if you go directly to ip
=-=
something is obviously still holding the ip address as every link on your page is refering to the ip address.
did you clear all cache tables including the menu_cache?
if base_url commented out? with a # in front of it?
did you in any way hardcode the ip address somewhere? ie: menu items or anything?
the base url is commented out
the base url is commented out just so i am on same page the cache your talking about where is that setting?
i am not sure i have cleared the cahche out at all
menu items
no i never even changed them from when i just had it up on local host i was told there was no need never ran into the issue until the domain forwarding with masking to the ip i figured i had to change a setting because i wanted to do that.
=-=
cache tables are in the database. use phpmyadmin or like tool
cache cache_ and _cache tables can be emptied.
I cleared all the cache is
I cleared all the cache is the mysql database still does not work and still works from the direct ip i created an account go to richmondadultentertainment.com Login guest pass guest you will see what it is doing then go to 173.14.119.153 and try it logs you right in then check it out is there no pssib ility it has something to with the forward with masking?when it forwards does it do anything that releaes the node maybe?
=-=
over my head.
I'm out of ideas.
=-=
Because it works in one browser but not in all, again, I ask if you cleared your browser cache and specifically your browser cookies.
browswer cookies
yes and the thing is i have had people go to the richmondadultentertainment.com from there computers and would be the first time visiting the site and they get the same results thats why i created the login would you mind giving it a whirl and see if you get the same results?
login info
.I have a drupal website up at richmondadultentertainment.com when users go that address it forwwards with masking to 173.14.119.153 when users go to the domain name for some reason with internet explorer i am having a problem with users logging in you can login but once you do it does not give the login succesful splash and does not take away login block but does show user logged in under who online but if you go directly to ip it seems to work fine however in safari you can go to either works great . I have cleared all cache several times i have had people go who do not have a browser cache at all of site have same results i never pointed and setting to the ip i am running default settings for the most part i created a test login: guest pass: guest if anyone has the time to check this out and lead me in any direction i would greatly apreciate it i am totally confused on what is the cause if its a browser or serverside issue
and sorry for post in other area i know its not a forwarding issue figured i should create new topic my bad
=-=
I don't know what visiting your site, again will do for me. I understand what is happening just not what is causing the issue.
Doesn't make sense to me that it works correctly in one browser but not in all based on your post here: http://drupal.org/node/670016
Can't be your ISP cache either if it's happening outside your ISP.
cache tables in database were cleared
cache and cookies in browser cleared
settings.php has no $base_url set
no alterations to .htaccess
not sure what else could be holding on to your ip address when hovering over links on your site.
try uncommenting and changing $base_url in settings.php to your domain name.
If that doesn't work, you may have to ask your server environment community as this is looking less and less like a drupal issue and more like a server issue.
base url
so when u went to site and tried to login and did not do work for you either. i am going to try the base url the only other thing is i am using the module logintobaggan no chance thats creating the issue?
=-=
I have no intentions on logging into your site sorry.
Last time I checked this I simply had to hover over your menu links to see the IP address.
If you believe the loggintoboggan module may be an issue, disable it and test.
links
the links point to those address because thats where they are serverside the richmondadultentertainment forwards to that ip the ip is whats active the domainn is just a masking tool to avoid putting up dns servers if the links did not point at those ips how would it reference the server to pull them
=-=
Drupal is relative to it's index.php as you can see here on drupal.org when you hover over a link the domainname shows. not the ip address.
I don't understand the the ideology of 'masking' the IP address with a DNS to avoid setting up DNS servers.
if you purchased your domainname, they have the DNS servers that you point to your server. Why would you require DNS servers at that point?
The DNS should point to your server, and the conf file should direct the incoming requests to your public doc root. I'd think.
I suppose I am not understanding this idea of forwarding from the Domain Name to the IP address. I've never tried to set up a domain name that way nor am I sure why you are doing so. I think your best bet is to place a support thread in a community that revolved around your server technology, if using WAMP then in their support forums.