robertosamayoa Posted January 30 Share Posted January 30 Hi, anyone know how to install antmedia server and php script on same server, currently i have to use 2 servers one for front end and second for antmedia, when tried to use on same server then antmedia stop working. Using ubuntu 20. 1 Link to comment Share on other sites More sharing options...
0 rahul7827 Posted January 31 Share Posted January 31 On 1/30/2023 at 10:41 AM, robertosamayoa said: Hi, anyone know how to install antmedia server and php script on same server, currently i have to use 2 servers one for front end and second for antmedia, when tried to use on same server then antmedia stop working. Using ubuntu 20. Hi @robertosamayoa It should not be, both should be served from the same server. Can you please explain a little how you are installing antmedia as well webserver (apache/nginx). Link to comment Share on other sites More sharing options...
0 robertosamayoa Posted January 31 Author Share Posted January 31 10 hours ago, rahul7827 said: Hi @robertosamayoa It should not be, both should be served from the same server. Can you please explain a little how you are installing antmedia as well webserver (apache/nginx). apache conf only for current domain, and antmedia just install i they do all automatic, maybe then need to create apache configuration for that also, do you know how to configure? Link to comment Share on other sites More sharing options...
0 robertosamayoa Posted February 1 Author Share Posted February 1 Thanks for your help, it is working now. 1 Link to comment Share on other sites More sharing options...
0 rahul7827 Posted February 2 Share Posted February 2 @robertosamayoa If you write the steps of resolution, would be helpful for future readers as well. Link to comment Share on other sites More sharing options...
0 robertosamayoa Posted February 2 Author Share Posted February 2 Thanks for your help, it is working now. 1,/ create vhost for your frontend code. 2. create vhost for antmedia with subdomain 3.- create letsencryp certificate and copy into /usr/local/antmedia 4. go to /us/local/antmedia and follow these to import ssl Option 3: Use your own certificates enable_ssl.sh script supports external fullchain.pem, chain.pem and privkey.pem files as in the following format sudo ./enable_ssl.sh -f {FULL_CHAIN_FILE} -p {PRIVATE_KEY_FILE} -c {CHAIN_FILE} -d {DOMAIN_NAME} Ex: sudo ./enable_ssl.sh -f yourdomain.crt -p yourdomain.key -c yourdomainchain.crt -d yourdomain.com sudo ./enable_ssl.sh -f yourdomain.pem -p yourdomain.key -c yourdomainchain.pem -d yourdomain.com If you disable any service that binds to 80 port such as Apache Web Server, enable it again sudo service apache2 start 5.- enable ufw rules. 2 Link to comment Share on other sites More sharing options...
0 Mohit Posted February 2 Share Posted February 2 Thank you @rahul7827 and @robertosamayoa 🙌 Link to comment Share on other sites More sharing options...
Question
robertosamayoa
Hi, anyone know how to install antmedia server and php script on same server, currently i have to use 2 servers one for front end and second for antmedia, when tried to use on same server then antmedia stop working.
Using ubuntu 20.
Link to comment
Share on other sites
Top Posters For This Question
4
2
1
Popular Days
Feb 2
3
Jan 31
2
Jan 30
1
Feb 1
1
Top Posters For This Question
robertosamayoa 4 posts
rahul7827 2 posts
Mohit 1 post
Popular Days
Feb 2 2023
3 posts
Jan 31 2023
2 posts
Jan 30 2023
1 post
Feb 1 2023
1 post
Popular Posts
robertosamayoa
Thanks for your help, it is working now. 1,/ create vhost for your frontend code. 2. create vhost for antmedia with subdomain 3.- create letsencryp certificate and copy into /usr
robertosamayoa
Hi, anyone know how to install antmedia server and php script on same server, currently i have to use 2 servers one for front end and second for antmedia, when tried to use on same server then antmedi
robertosamayoa
Thanks for your help, it is working now.
6 answers to this question
Recommended Posts