Jump to content

moving IPB from root domain to a sub domain


o30c

Recommended Posts

I currently have IBP setup so when you go to my root domain the forum is what pops up.  I want to change it to a sub domain e.g. forum.mydomain.com instead.  What all is involved to do this?  Do I just change the board_url in the conf_global.php?  I don't need to move the physical installation or re-run the install for a pathing change do I?

Link to comment
Share on other sites

As of today when someone goes to our root domain www.mydomain.com (for example) they is IPB.  I no longer want that to happen.  Instead when they view www.mydomain.com they should see the NEW website / layout I have designed - which includes a link for our forums.  That link should forward them to forum.mydomain.com and display IPB there instead.  Make sense?

Link to comment
Share on other sites

@o30c

You need to do following:

  1. Create a subdomain like forum.mydomain.com and move all the IPS suite files and folders from /public_html to /public_html/forum folder.
  2. Open the conf_global.php file and edit the base_url settings to point to your subdomain https://forum.mydomain.com
  3. Login to your ACP at new URL https://forum.mydomain.com/admin/ and clear the cache: Support > Something isn't working correctly > Continue
  4. Update your forum's new URL in the IPS Client area.
  5. Upload your custom website's files/folders to the root at /public_html

Hope this helps.

Link to comment
Share on other sites

17 hours ago, o30c said:

As of today when someone goes to our root domain www.mydomain.com (for example) they is IPB.  I no longer want that to happen.  Instead when they view www.mydomain.com they should see the NEW website / layout I have designed - which includes a link for our forums.  That link should forward them to forum.mydomain.com and display IPB there instead.  Make sense?

If you use APP Pages, you can create a page containing the html code of your project.
You can specify in the ACP that the APP Page is the default APP and your new page is the default page.
Your domain will open your new page and your forums will only be loaded by yourdomain/forums.
This is easy to do and you will save yourself a lot of problems with physically moving to a subdomain.

 

Link to comment
Share on other sites

  • 2 weeks later...
On 10/13/2019 at 10:57 AM, Lucas James said:

@o30c

You need to do following:

  1. Create a subdomain like forum.mydomain.com and move all the IPS suite files and folders from /public_html to /public_html/forum folder.
  2. Open the conf_global.php file and edit the base_url settings to point to your subdomain https://forum.mydomain.com
  3. Login to your ACP at new URL https://forum.mydomain.com/admin/ and clear the cache: Support > Something isn't working correctly > Continue
  4. Update your forum's new URL in the IPS Client area.
  5. Upload your custom website's files/folders to the root at /public_html

Hope this helps.

Many thanks for that information.

I've copied what I believe are all the IPS related files / folders to my sub domains folder as you instructed and updated the conf_global.php board_url to point to the new sub domain folder.  Here is the structure under a sub domain simply named "test".  The sub domains path would be /home/<myusername>/public_html/test/

 

 

When my community was originally setup (not by me) the default path wasn't used so the admin folder is really named 'o30c'.  At any rate when I attempt to load the admincp going to https://test.mydomain.com/o30c/ or  https://test.mydomain.com/o30c/index.php its still trying to read something from the old path as I'm receiving this error.

Fatal error: require_once(): Failed opening required '/home/<myusername>/public_html/o30c/sources/base/ipsRegistry.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/<myusername>/public_html/ips_kernel/') in /home/<myusername>/public_html/index.php on line 23

 

Any suggestions?

SPuDJRI[1].png

 

In the above example the admin folder are where the raw install files are located when you decompress the install file.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...