I get that, I have read that and I followed all steps. Here is what I did.
Hello All,
I have done all the steps in setting up a sub domain scenario where people can go to different regions. The issue is that when they go to sub.mydomain.com, all new listings also get posted to mydomain.com and vise versa.
Is it not possible to set up sub domains where people post in one sub domain and not get that post added to another sub domain?
I have been on this for days and I have exhausted all google serahces and forum post's. If anyone can help me with this, I would really appreciate this.
What I have done is the following:
1. Created a wildcard sub domain using *. This created a A record that points to my server IP.
2. Modified config.pho file. It now looks like:
<?php
/**
* The base MySQL settings of Osclass
*/
define('MULTISITE', 0);
/** MySQL database name for Osclass */
define('DB_NAME', 'xxxxxx');
/** MySQL database username */
define('DB_USER', 'xxxxxx');
/** MySQL database password */
define('DB_PASSWORD', 'xxxxxxx');
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** Database Table prefix */
define('DB_TABLE_PREFIX', 'oc_');
define('REL_WEB_URL', '/');
define('WEB_PATH', 'https://'.$_SERVER['HTTP_HOST'].'/');
?>3. Changed the permalinks to not friendly. Unchecked them.
4. In advanced, I added sub domain type region, then I added my main domain like so
https://mydomain.com.
When I go to sub.mydomain.com, I can see page, login to that sub domain control panel, but the database is using the same settings and data for all sites.
What am I doing wrong or what am I missing?
Please help.
Steve