
Step 2: Create a index.html file inside your subdomain directory

Step 3: Edit the file as your wish to display on the browser. and save and exit the file

Step 4: Next step is to enter into the apache configuration file itself.

Step 5: Scroll down to the very bottom of the document to the section called Virtual Hosts. and add the below content with your subdomain details and correctly mention the document root.
then save and exit the file.
then save and exit the file.

Step 6: Finally restart the apache service with the following command.

that’s it now your subdomain will load properly.
Thank You….!
No comments:
Post a Comment