Now we will be replacing the default indexed HTML file with our own custom website files.
We will also be creating a directory for our CSS and JavaScript files.
We have a basic website with the basic structure, including the header, main content and footer.
We have also included a link to our CSS file in the head section of the HTML.
The CSS file will be responsible for the styling and layout of the website.
In this file we will be setting font family background, color padding and other styles for the various
elements on the page.
With the CSS file in place, our website will be styled and laid out to our liking.
This is just a basic example of what our website could look like and you are free to make any additional
customizations you would like.
Finally, we could also add a JavaScript file to our website if we wanted to add dynamic functionality.
This could include things like responsive navigation, interactive forms, and more.
Now that we have the files, we need to place it in the correct location for Engine X to use it.
In this example, we will clone the files from the GitHub repository https github.com labs eight by
bit and place them in var w w w by box local.
So we'll type.
Get clone https GitHub.com Labs eight by bit.
Copy the files to our dental website root directory CPR by bit asterisk var w w w by box local.
Now we'll check that files are in place with.
Less var w w w by box local.
Also, we can change permissions for the files and directories in our project with find var w w w bi
box local dash type f dash Exec mod 644 curly braces backslash semi column find var w w w by box local
dash type dd dash exec mod 755 curly braces backslash semi column.
Once we have the files in place, we can test the virtual host configuration with the command engine
x dash TX.
This command will test the syntax of the configuration file and let us know if there are any errors
or issues.
If everything looks good, we can reload engine x with the command system.
Ctrl reload engine x By reloading engine x, our virtual host configuration will take effect and we
will be able to access the website at Xbox Local.