Customizing your website Behavior
t.Site empowers you with various customization options to optimize your website’s performance and user experience. Here’s how you can personalize your site to fit your needs:
To adjust how your site operates, navigate to the Behavior
tab. Here, you’ll find settings for:
- Caching Policy: Optimize your site’s load time and resource usage by defining a caching strategy.
- Custom Error Pages: Enhance user experience during downtime or when encountering errors by setting up custom error pages.
- Custom URLs: Tailor your site’s structure by defining custom URLs that match your content and navigation structure.
- Buildspec.yml Path: If needed, change the path to your
buildspec.yml
file to adjust how your site builds and deploys.
For those who prefer to work directly in their Integrated Development Environment (IDE), these settings can also be modified by editing the cloud-site.yml
file located at the root of your repository.
Setting up a Custom Domain
t.Site allows you to move beyond the default CloudFront domain to a custom domain, giving your site a more personalized and professional appearance:
- Domain Configuration: Access the
Domain
tab within t.Site to begin setting up your custom domain. Enter your domain name and follow the step-by-step instructions to adjust your DNS settings. - DNS Settings: We’ll provide you with the necessary records to input into your DNS provider’s interface. Correct setup will result in your changes propagating within several hours.
Customizing Build Process for Websites
For dynamic or complex sites requiring specific build processes, t.Site uses CodeBuild. You can influence this process by:
- Editing the
buildspec.yml
: This file, which dictates the build commands and phases (install, pre-build, and build), can be modified to suit your site’s specific requirements. Adjust these settings to control how your website is compiled and deployed, ensuring optimal performance and functionality.
By leveraging these customization features, you can ensure your t.Site hosted website not only performs efficiently but also aligns with your branding and operational needs, providing a seamless user experience.
To see how you can precicely maintain and keep track of your Website’s versions using t.Git visit the Easy Version Control with t.Git page
If you have any questions about using t.Site, don’t forget to check out the t.Site FAQ page.