Test locally 2 or more websites with Django


In Django, several websites can be tested in the same time by specifying the port. By default, with the command:

python manage.py runserver

the port is 8000. But another website can be launched on the port 8001 for example using the command:

python manage.py runserver 8001

and then enter the url:

http://127.0.0.1:8001

References

Links Site
Run Django on multiple ports stackoverflow
django change default runserver port stackoverflow
manage.py django doc