1
nkarkine
servers internal and external address (localhost)
  • 2007/3/21 17:55

  • nkarkine

  • Just popping in

  • Posts: 3

  • Since: 2007/3/14


Hi,

I am wondering how to configure when i firstly want to change my server ip in XOOPS from 10.10... to the external ip or a domain name. cant find where to do that.

secondly i wonder why it is that having an external ip in the config caused the site not to work in the internal network...

thanks for any assistance!

2
Peekay
Re: servers internal and external address (localhost)
  • 2007/3/21 18:51

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


The settings are in 'mainfile.php'.

E.g if you are building a site on a PC running IIS with XOOPS installed in a subdirectory, the settings might be:
define('XOOPS_ROOT_PATH''C:/Inetpub/wwwroot/mysite');
define('XOOPS_URL''http://localhost/mysite');

To test the site across the LAN, you would need to use the DHCP IP address allocated to your PC by the router for xoops_url, e.g.
define('XOOPS_URL''http://192.168.***.***/mysite');

When you upload the site to a Unix/Linux server, these settings would change to something like, e.g.
define('XOOPS_ROOT_PATH''/var/www/vhosts/mysite.co.uk/httpdocs');
define('XOOPS_URL''http://www.mysite.com');


HTH
A thread is for life. Not just for Christmas.

Login

Who's Online

355 user(s) are online (279 user(s) are browsing Support Forums)


Members: 0


Guests: 355


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