Regarding deployed project on server

  Mon 14 / 08 / 2023

  Posted by: Vanita saini

Category : Laravel

Tags : laravel , php

Description

Dear Sir/Ma'am,


I have a server, and I want to deploy two websites on this server. These should be accessible, like:


1. http://abc.com - This is built in laravel.

2. http://abc.com/blog -  This is built in Core PHP.


Could you please guide me on what to do about this? I have to create a subdomain for this, or can I directly access my blog project on this website as well?




  Answered by CDL

Hey mam, sorry for too late reply.

You can create domain and subdomain to deploy your projects in different directory with different urls.


For Laravel site you can crete this domain http://abc.com and domain path would public_html/your_project_public

For the php you can create subdomain blog.abc.com and your subdomain path would be public_html/blog/your_project_with_index file.

Solved
  Comment   Share
0 Likes   0 Comments