# Newbie to Python & Django - Question regarding Application URL

**URL:** <https://forum.djangoproject.com/t/newbie-to-python-django-question-regarding-application-url/7794>\
**Category:** Using Django\
**Created:** [May 4, 2021, 4:37pm UTC](https://forum.djangoproject.com/t/newbie-to-python-django-question-regarding-application-url/7794 "2021-05-04T16:37:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarjar95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/jarjar95/32/4430_2.png) [@jarjar95](https://forum.djangoproject.com/u/jarjar95)\
**Post date:** [May 4, 2021, 4:37pm UTC](https://forum.djangoproject.com/t/newbie-to-python-django-question-regarding-application-url/7794/1 "2021-05-04T16:37:57Z")

</div>

Hello fellow Djangoers!

I am completely new to Python, I have done a lot of research beforehand as I use to be more focused around the development of applications using Laravel.

I am eager to get started and I have ran in to a small issue (I am hoping it’s a small issue at least!) with regards to the setup of the Django web application framework.

I have successfully installed Python and the required dependencies through installing an OS called CloudLinux on to my VPS server which is a cPanel based VPS.

I do try to hold back from reaching out in forums as I prefer to dive in and attempt to resolve challenges myself - but I’m at the point where I could do with a little assistance or guidance!

I have referenced the following guide with installing Django on to my VPS -  
[https://www.a2hosting.co.uk/kb/developer-corner/python/installing-and-configuring-django-on-linux-shared-hosting](https://www.a2hosting.co.uk/kb/developer-corner/python/installing-and-configuring-django-on-linux-shared-hosting)

I have completed all the steps including the installation, migration and super user initialisation.

After the installation completed, I accessed the domain of my where my application has been configured through Python (on cPanel) and the “Index Of” page is displaying rather than the actual application itself.

I have reattempted the installation a few times over, but I am getting the same result each and every time.

Here is a rundown of my current folder structure:

├── db.sqlite3  
├── manage.py  
├── myapp  
│ ├── **init**.py  
│ ├── **pycache**  
│ │ ├── **init**.cpython-37.pyc  
│ │ ├── settings.cpython-37.pyc  
│ │ └── urls.cpython-37.pyc  
│ ├── settings.py  
│ ├── urls.py  
│ └── wsgi.py  
├── passenger\_wsgi.py  
├── public  
├── static\_files  
│ └── admin  
│ ├── css  
│ │ ├── autocomplete.css  
│ │ ├── base.css  
│ │ ├── changelists.css  
│ │ ├── dashboard.css  
│ │ ├── fonts.css  
│ │ ├── forms.css  
│ │ ├── login.css  
│ │ ├── responsive.css  
│ │ ├── responsive\_rtl.css  
│ │ ├── rtl.css  
│ │ ├── vendor  
│ │ │ └── select2  
│ │ │ ├── LICENSE-SELECT2.md  
│ │ │ ├── select2.css  
│ │ │ └── select2.min.css  
│ │ └── widgets.css  
│ ├── fonts  
│ │ ├── LICENSE.txt  
│ │ ├── README.txt  
│ │ ├── Roboto-Bold-webfont.woff  
│ │ ├── Roboto-Light-webfont.woff  
│ │ └── Roboto-Regular-webfont.woff  
│ ├── img  
│ │ ├── calendar-icons.svg  
│ │ ├── gis  
│ │ │ ├── move\_vertex\_off.svg  
│ │ │ └── move\_vertex\_on.svg  
│ │ ├── icon-addlink.svg  
│ │ ├── icon-alert.svg  
│ │ ├── icon-calendar.svg  
│ │ ├── icon-changelink.svg  
│ │ ├── icon-clock.svg  
│ │ ├── icon-deletelink.svg  
│ │ ├── icon-no.svg  
│ │ ├── icon-unknown-alt.svg  
│ │ ├── icon-unknown.svg  
│ │ ├── icon-viewlink.svg  
│ │ ├── icon-yes.svg  
│ │ ├── inline-delete.svg  
│ │ ├── LICENSE  
│ │ ├── README.txt  
│ │ ├── search.svg  
│ │ ├── selector-icons.svg  
│ │ ├── sorting-icons.svg  
│ │ ├── tooltag-add.svg  
│ │ └── tooltag-arrowright.svg  
│ └── js  
│ ├── actions.js  
│ ├── actions.min.js  
│ ├── admin  
│ │ ├── DateTimeShortcuts.js  
│ │ └── RelatedObjectLookups.js  
│ ├── autocomplete.js  
│ ├── calendar.js  
│ ├── cancel.js  
│ ├── change\_form.js  
│ ├── collapse.js  
│ ├── collapse.min.js  
│ ├── core.js  
│ ├── inlines.js  
│ ├── inlines.min.js  
│ ├── jquery.init.js  
│ ├── popup\_response.js  
│ ├── prepopulate\_init.js  
│ ├── prepopulate.js  
│ ├── prepopulate.min.js  
│ ├── SelectBox.js  
│ ├── SelectFilter2.js  
│ ├── timeparse.js  
│ ├── urlify.js  
│ └── vendor  
│ ├── jquery  
│ │ ├── jquery.js  
│ │ ├── jquery.min.js  
│ │ └── LICENSE.txt  
│ ├── select2  
│ │ ├── i18n  
│ │ │ ├── ar.js  
│ │ │ ├── az.js  
│ │ │ ├── bg.js  
│ │ │ ├── ca.js  
│ │ │ ├── cs.js  
│ │ │ ├── da.js  
│ │ │ ├── de.js  
│ │ │ ├── el.js  
│ │ │ ├── en.js  
│ │ │ ├── es.js  
│ │ │ ├── et.js  
│ │ │ ├── eu.js  
│ │ │ ├── fa.js  
│ │ │ ├── fi.js  
│ │ │ ├── fr.js  
│ │ │ ├── gl.js  
│ │ │ ├── he.js  
│ │ │ ├── hi.js  
│ │ │ ├── hr.js  
│ │ │ ├── hu.js  
│ │ │ ├── id.js  
│ │ │ ├── is.js  
│ │ │ ├── it.js  
│ │ │ ├── ja.js  
│ │ │ ├── km.js  
│ │ │ ├── ko.js  
│ │ │ ├── lt.js  
│ │ │ ├── lv.js  
│ │ │ ├── mk.js  
│ │ │ ├── ms.js  
│ │ │ ├── nb.js  
│ │ │ ├── nl.js  
│ │ │ ├── pl.js  
│ │ │ ├── pt-BR.js  
│ │ │ ├── pt.js  
│ │ │ ├── ro.js  
│ │ │ ├── ru.js  
│ │ │ ├── sk.js  
│ │ │ ├── sr-Cyrl.js  
│ │ │ ├── sr.js  
│ │ │ ├── sv.js  
│ │ │ ├── th.js  
│ │ │ ├── tr.js  
│ │ │ ├── uk.js  
│ │ │ ├── vi.js  
│ │ │ ├── zh-CN.js  
│ │ │ └── zh-TW.js  
│ │ ├── LICENSE.md  
│ │ ├── select2.full.js  
│ │ └── select2.full.min.js  
│ └── xregexp  
│ ├── LICENSE.txt  
│ ├── xregexp.js  
│ └── xregexp.min.js  
├── static\_media  
├── templates  
│ └── static\_pages  
│ └── index.html  
└── tmp  
└── restart.txt

I was wondering if a Symbolic Link might be required in order to push web traffic through to a symlink public\_html directory or whether I’m just missing a simple configuration somewhere to get my application working.

My Django application is based outside of my public\_html folder. Within my Python manager app on cPanel, I have configured the Python application to serve all traffic requests through to my primary domain from the “myapp” folder located outside of the public webspace environment.

Thanks everyone,  
Jay.

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [May 6, 2021, 12:32pm UTC](https://forum.djangoproject.com/t/newbie-to-python-django-question-regarding-application-url/7794/2 "2021-05-06T12:32:19Z")

</div>

What happens if:

- You try `http://your-domain/admin/` ?
- You try `http://your-domain/myapp/` ?

What happens when you run passenger\_wsgi as described in step 14? Do any errors show up in the console? Does cPanel give you any access to any system logs that might describe an error?
