how to deploy software along with website?
Hello everyone,
I,ve linode of linux installed of 10GB capacity which has one software installed which is accessible on IP but now I want to deploy the website on the same sever. I have domain and now I want to place it on same server on which I've already published above mentioned software. so Now i want, the software should be accessible on IP and domain also can be hosted on same server.
please suggest the solution.
Regards,
suraj
10 Replies
If you mean software that’s accessible by an IP address, I’m assuming that it’s a web app?
As far as running a website on the same Linode, you would just go through the website guide Linode provides. You’ll also need a domain name as well.
@LouWestin
thanks for reply
software means the traccar is running on the linode. which is accessed by the IP. but now i want to launch the website on same linode and i have one domain for the website. I also want that the traccar should work as it is without domain. and same time website should work on same linode on domain
@LouWestin
thanks.
please elaborate the solution.
The solution would be something like, install Apache, php, and MySQL. Configure all that stuff, point your domain name to the IP address, etc. as long as the application doesn’t get accessed from port 80/443 you shouldn’t have any IP/Domain conflicts.
Also, I’d probably run the website under another user account.
@LouWestin
you mean I need to buy one separate domain for traccar and host the both as virtual?
do you have any reference documentation link ? I am quite new to handle such cases. particularly for this problem, where I have 1 linode (IP) and I Want to host one wesite domain and one application software (traccar),I don't wan't to purchase separate domain for traccar.
please provide any detail solution.
@LouWestin
previously It was accessed via IP over web browser. but now I want to keep it same and mean while I also want to place one website with on that server,same time i want to keep traccar on the same state
See if you can change the port number on Taccar to something else other than 80 or 443 so when you access it via IP using a web browser the url will be something like ip address:port number
Otherwise your your website will resolve to that IP address.l instead Taccar.
traccar is running on port 8082 by default and is accessed from the browser
You can install traccar and a LAMP stack on the same linode , without conflicts and have a website and traccar on the same server by following this steps:
REBUILD YOUR LINODE !
FIRST: Install lamp on your linode by following this tutorial: https://www.linode.com/docs/web-servers/lamp/install-lamp-stack-on-ubuntu-18-04/
THEN: Create a mysql username , password and database to use with traccar
AFTER: Install traccar as usally but when prompted for mysql username , password and database use the ones you created in the previous step.
LAST: configure you domain name dns to point to your servers ip Address.
With this configuration you can use your domain name to access both websites (http://mydomain.com) and traccar (http://mydomain.com:8082)
If you want to use traccar as a subdomain like traccar.mydomain.com and use the default 80 port for webservers you would need to add a DNS SRV record https://support.dnsimple.com/articles/srv-record/ => Im not sure this would properly work because i never used a srv record in my life.
Another method would be to try and integrate traccar in your apache server BUT ONLY IF YOU WANT IT ON THE SAME PORT !
THIS WILL HELP YOU MORE: https://www.traccar.org/forums/topic/installing-traccar-v3-9-on-ubuntu-16-10-server-x84_x64-on-remote-vps-via-ssh/