Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i find api and mobile #281

Open
tanzaniatech opened this issue Aug 6, 2018 · 17 comments
Open

How can i find api and mobile #281

tanzaniatech opened this issue Aug 6, 2018 · 17 comments

Comments

@tanzaniatech
Copy link

Hi sorry am new here so, how can i find api.url and m.url because i cant find it.. i use this on subdomain like forum.mysite.com Please help.

@lincanbin
Copy link
Owner

Create a new domain name and set the A record, then set the listener on the server.

@tanzaniatech
Copy link
Author

Thank you for quick reply, I dont know what you mean by create a new domain,.. you mean i should by new domain or i should create a new subdomain...?
And about set a listener i dont know how to do that... or i dont know the full meaning.. can you clarify what is or how to set a listener on server..?

@lincanbin
Copy link
Owner

Create a new subdomain.

@lincanbin
Copy link
Owner

lincanbin commented Aug 6, 2018

And add configuration to your Nginx like this:

server {
 ...
        server_name www.94cb.com 94cb.com m.94cb.com api.94cb.com;
...
 }

@tanzaniatech
Copy link
Author

What if i use Apache

@tanzaniatech
Copy link
Author

after creating a subdomain what should i add in the folder

@lincanbin
Copy link
Owner

Apache:
add ServerAlias

<VirtualHost *:88>
DocumentRoot /www/web/carbon/public_html
ServerName 94cb.com
ServerAlias www.94cb.com m.94cb.com api.94cb.com

...

</VirtualHost>
<Directory /www/web/carbon>
    Options FollowSymLinks
    AllowOverride All
    Require all granted
</Directory>

@lincanbin
Copy link
Owner

  1. Create a subdomain and set A record;
  2. Set your subdomain information in your carbon forum dashboard;
  3. Add ServerAlias to your apache and reload it.

@tanzaniatech
Copy link
Author

so the subdomain will be empty... and is this going to work in shared host.

@lincanbin
Copy link
Owner

empty?

@tanzaniatech
Copy link
Author

I ask you what should i add in subdomain and i think you didn't read that comment...
So far i know this step

  1. I create a another subdomain in folder where i host carbon forum
  2. I get to DNS the i create a A record with subdomain i create and i point to the same ip address
  3. THIS STEP I DON'T UNDERSTAND, BECAUSE I SEE THE CODE YOU GIVE ME IS VPN NOT SHARED HOST ...?

@tanzaniatech
Copy link
Author

Am Beginner, I found this forum so beautiful and i want to use it with our website. So i need step by step how to do this i know it will help other too so please help.

@lincanbin
Copy link
Owner

Shared host users should point your multiple subdomains to the same folder.

@tanzaniatech
Copy link
Author

You mean, please am beginner can you please be specific PLEASE a little instruction for beginner will be very kind. PLEASE SIR

@tanzaniatech
Copy link
Author

Please sir a little help.

@lincanbin
Copy link
Owner

I am not using a shared host at present, and I am not sure how to operate it on the shared host's user interface.

@tanzaniatech
Copy link
Author

Can i give you credential in my shared host so that you can test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant