Skip to main content

Launching the New CodeHS.io Domain for HTML Assignments & Sandbox Programs

Learn about the new secure CodeHS.io domain for HTML assignments and sandbox programs—designed to enhance student privacy, restrict public access, and support safe classroom learning without changing your workflow.

Eli Hernandez avatar
Written by Eli Hernandez
Updated over 2 weeks ago

CodeHS has introduced a new domain codehs.io used for HTML assignments and sandbox programs. This update is part of an ongoing initiative to provide a more secure, private, and controlled environment for students and teachers working with HTML projects.

Enabling this feature does not change teacher workflows and does not affect a student’s ability to develop HTML programs or progress through their coursework or use the sandbox as a learning tool.

What is CodeHS.io?

codehs.io is a secure domain where HTML programs are accessible only to the appropriate users. When enabled, all HTML assignments and sandbox programs will use codehs.io instead of codehs.me or codehs.app.

image showing html output

What Does CodeHS.io Provide?

A More Secure Environment for Student Work

  • Login is required to access any codehs.io site. In other words, HTML programs hosted on codehs.io are never public.

  • Teachers can access all programs authored by their students, but students cannot view codehs.io programs of other students.

  • codehs.io websites from other random CodeHS users are not accessible.

Reduced Exposure to Unrelated Public Content

When your organization enables codehs.io, you gain the option to block codehs.me on your network without affecting students’ ability to complete or submit HTML assignments or use the sandbox.

Blocking codehs.me prevents students from accessing public programs created by other users, while all coursework continues to function normally through the secure, login-protected codehs.io domain.

Students can publish a program to a public codehs.me URL if desired. If your organization does not want students to publish work publicly, CodeHS can restrict that capability upon request.

Who Can Access a CodeHS.io Program?

Access to a codehs.io program is restricted to:

  • The student who created the program

  • Their teacher(s)

  • Collaborators on sandbox programs (if collaboration is enabled)

  • CodeHS team members (for support and debugging)

No other CodeHS users are able to view a student’s codehs.io work.

Can Students See Each Other’s Programs?

  • HTML Assignments: Students can only access their own assignments.

  • Sandbox Programs: Students cannot access other students’ codehs.io sandbox programs unless collaboration is enabled, and they are added as collaborators.

Why Enable CodeHS.io?

Enabling codehs.io benefits organizations in key ways:

Enhances Student Safety

Students access only their assignments and sandbox work, preventing exposure to unrelated or distracting websites hosted on codehs.me.

Prepares for Future Platform Updates

CodeHS is updating its platform to streamline domain usage:

  • codehs.io will become the default domain for assignments and sandbox programs, making student work private by default.

  • codehs.me will be reserved for public-facing community content.

What You Need to Do

To ensure a smooth transition to the codehs.io domain, follow these steps:

1. Whitelist CodeHS.io

Add codehs.io to your network’s allowlist so students and teachers can securely load all HTML assignments and sandbox programs.

(codehs.xyz is another domain that should be whitelisted, this is a domain for CodeHS team websites used in curriculum)

2. Test your configuration

Use the CodeHS domain testing tool to ensure all required domains are working correctly on your network: https://codehs.com/test_codehs_domains

This page will show whether each domain is allowed or blocked.

Domain configuration pass example:

Domain configuration pass example

Domain configuration fail example:

Domain configuration fail example:

3. Notify CodeHS

  • Pro Plan users: After whitelisting codehs.io, let your Account Manager or Customer Success representative know. They will enable the setting for your school or district and confirm that everything is ready to switch over.

  • Free Plan users: After whitelisting codehs.io, please reach out to support@codehs.com for further assistance on enabling the setting for your school.

4. Block CodeHS.me (Optional)

If your school has experienced issues with students accessing public content created by others, you may choose to block codehs.me. Once codehs.io is enabled, blocking codehs.me will not impact student or teacher functionality.


Still have questions? Contact our team at support@codehs.com to learn more!

Did this answer your question?