1
editor
Problem with server in port 8081
  • 2004/2/1 16:06

  • editor

  • Just popping in

  • Posts: 15

  • Since: 2004/2/1 7


Tks. In the fly because now I understant some local questions here with your explanation.
The most important is: is impossible a maintenace directly in the server with my configuration.

- I edit the mainfile.php file and put:

define('XOOPS_URL', 'http://[my IP]:8081');

Then, conect to Internet with another machine, and all runs ok and have admin account access;

- But, I try a deep test with a redirect domain (dns2go service - people that unknow what is, see http://dns2go.deerfield.com/) editing mainfile.php and put this:

define('XOOPS_URL', 'http://www.[my name site].dns2go.com');

Conect to Internet with another machine and the browser load the XOOPS main page. Great! But, have a problem. I dont acceess the admin account or another registered account.
I dont understand why have this problem because http://www.[my name site].dns2go.com apoint directly to http://[my IP]:8081.
Have another "magic solution"?

2
robekras
Re: Problem with server in port 8081
  • 2004/2/1 19:44

  • robekras

  • Documentation Writer

  • Posts: 187

  • Since: 2002/12/10


Don't know whether I understand correct, but here I go....
and I hope I'm correct , I'm not a redirect specialist.
Maybe I'm wrong and someone can enlighten me

You user will type http://dns2go.deerfield.com to access your site, then your mainfile should have:
define ('XOOPS_URL', 'http://dns2go.deerfield.com').

That's because the cookie (which stores login information) is stored on the users browers under this URL.

When they have done the login they are redirected to the address which is the XOOPS_URL. If the redirect address and the cookie address do not match you/they are not logged in.

So if you want to have access from your local machine to XOOPS you also have to type the http://dns2go.deerfield.com.

But your local computer doesn't know what dns2go.deerfield.com is.

So you need an entry in the hosts file on your local machine which shows that dns2go.deerfield.com is at your specific IP address.

And now I'm anxious about being right.

3
editor
Re: Problem with server in port 8081
  • 2004/2/2 3:33

  • editor

  • Just popping in

  • Posts: 15

  • Since: 2004/2/1 7


Ok...the cookie. I understand.
Why I try put http://www.[my site name].dns2go.com in mainfile.php?
Because if have a problem in my server, like abrupt interrupt conection by electrical fault and my ISP send me another IP address because he is dynamic in a ADSL conection. The redirect service correct this problem with a maintenance of a real momment IP. In linux the service is very fast.
Today I try to use the redirect service only to go to the XOOPS main page but in the server the file mainfile.php is with:

define('XOOPS_URL', 'http://[my IP]:8081');

Xoops run perfectly with admin and users access now and the browser show http://www.[my site name].dns2go.com and not http://200.221.87.11, by e.g.


The only two problems is show the IP address to new users when receive a actv.key by e-mail and manual write the mainfile.php when have a local problem and my ISP change my IP.

To look my experience in port 8081 whith redirect service(DNS2GO), slackware, apache, mysql, go to http://pioresblogs.myftp.org/. Remember that server is in my house and my language is brazilian portuguese...

(If the site is off line or redirect to another place, is because i´m working in your settings )

Login

Who's Online

449 user(s) are online (318 user(s) are browsing Support Forums)


Members: 0


Guests: 449


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits