Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Benjamin Kuijs
17,022 PointsHow do you add a tag in-front of your domain?
Hello treehouse members,
I was wondering how you add a "subpage" to your domain so it is stated like this:
Could anyone give me a hint how to code this?
Thanks!
KR
Benjamin
3 Answers
Patrik Horváth
11,110 Pointsmy case ( your case is almost same i m sure ), also you can contact your webhosting provider if you want :)
- just logg to your Web Provider setup page ( my is setup.sk )
- set ROOT SUB to "/_sub" for example nex to it you have to have " *.yourdomain.sk", * represent folders name inside "/_sub" folder
- done :) My testing hosting for example :
making new subdomain ?
- Loggin to your FTP
- LOCATO to your ROOT for subdomain
- make how manny directorys you want
- Insert your webfiles :)
Anain Roibal
4,532 PointsI think what you are trying to do is a subdomain. For example, a subdomain doesn't have the www and the front, instead, the subdomain replaces the www part: www.mysite.com (without subdomain, main site) design.mysite.com (subdomain sample) mobil.mysite.com
In this case, I go to my hosting site and go to the DNS Management, or domain management and create a new one, then on the ftp I create a root folder for that site. Every hosting is a bit different to you need to find specific instructions for the hosting you are using.
Benjamin Kuijs
17,022 PointsThanks a lot for the input Anain and Patrik!
I now know how to get this done!
