I have shared hosting on my Godaddy with the basic (/.)
I have made a folder domains in shared hosting and made other websites in it e.g. /abc.com/shop/
Getting 500(Internal Server error)
Can anyone guide me to resolve the problem?
Thanks,
Ananta
Related
I used Django + nginx + uWSGI to deploy a website to example.com (this is also the hostname of my instance where I put the Django app on Google Cloud Platform) following the instructions here https://uwsgi-docs.readthedocs.io/en/latest/WSGIquickstart.html.
Now here's the strange thing. I found that all devices under my university's WiFi can access my website (http://example.com) but devices outside my network (for example, in another city) cannot access it. Does anyone know what is going on here?
Thank you very much in advance.
Found out where the problem was with the help of my friend.
Turned out I pointed my DNS to two ip addresses and this caused the problem. When people at other places visit my website, they were directed to the other ip which only showed them the nginx welcome page.
Learned a useful command 'ping www.example.com', this helps you identify the ip address associated with www.example.com
Quick overview:
Developed web app with Python and Django; developed and tested locally; adjusted settings to harden for deployment
Deployed app to Heroku for simple hosting platform; tested and worked successfully
Purchased hobby hosting on Heroku so deployed app would not sleep; I can still verify this to be true, the app loads instantly at myappname.herokuapp.com
Purchased domain name on GoDaddy
Used a free CloudFlare account to manage DNS
Entire chain of operation works successfully sometimes, but sometimes I get a website coming soon page:
So when I go to bed last night, everything works. I can load the app from the purchased domain name on all my computers and mobile devices. I wake up this morning, and I'm once again getting the coming soon page. No matter how many times I refresh, and with cache disabled in Chrome so I know it's not my browser.
Everything is working perfectly on the Heroku side, since I can load the app there every single time. Once I told GoDaddy to use Cloudflare's nameservers I think there can't be an issue on GoDaddy's side. There has to be something with Cloudflare.
The DNS settings on Cloudflare are super simple:
CNAME for my.url pointing to my.url.herokudns.com
CNAME for www as an alias of my.url
The hardest part is that it just sometimes works and sometimes doesn't. I can't nail this down.
As i have installed WAMP developer Pro recently and i have solved everything that it needed but the main problem is coming which is most important , i am unable to put my website online as i have made a url from WAMP developer and i have putted my all website file in it it is working fine in my as i type www.radharamnji.com it comes but other can not see it so please tell me how i can make it online so everyone can see it.
here is a pic of WAMP developer
If You Have A Website and domain You Have To Upload All Of Your Files To Host Public_html Folder.
If You Want to change your computer to a server you have to buy a valid IP and set dns settings and ...
If You Upload Your Files On The Internet YOu Have Too Change Your Adrress to Relative.
For Example Change The Adrress Of Picture From (http:/localhost/img/img1.jpg) To (img/img1.jpg).
The WAMP you are using has a guide for this located on its site's /howto section: "Enabling Online and Internet Access of Websites...".
Chances are:
Your Windows Firewall (and also anti-virus s/w such as McAfee) are blocking incoming port 80 and 443 TCP connections, and the httpd.exe process.
Your Router does not have any port-forwarding set up for WAN:80 to LAN:80.
I am new to the world of website hosting, especially in cPanel platform. I have a website which is developed using Python language, which makes use of Django also. I have hosted this website in cPanel. But it doesn't seems to be working.
When I browse my website domain (www.def.com), now it displays site.wsgi (wsgi file) file as such.
I could know that by default, CPanel doesn't support Django. Using SSH, I have installed Django. But I am not sure how to configure the same. Would be good if I can get a step by step instructions on how to install and configure Django in cPanel.
FYI, This is a shared web hosting server from GoDaddy and that too not a virtual Private server or doesn't have root access. How will host this site by using wsgi file.
Although it seems CPanel does not support Django apps "out of the box", google results lead me to believe it might be possible using a more manual method.
Additionally, CPanel has this plugin for Django/python installation
Please note that I have not tried any of the above, but the latter seems more promising since it has been updated more recently (2015, as opposed to the 2011 blog entry).
I'm using Amazon S3 to host static files for my website. Now I wanted to add Wordpress blog, which would be hosted in /blog subfolder. I followed an article which explains the easiest way to install Wordpress on EC2 on Microsoft Windows server here:
http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/EC2Win_CreateWordPressBlog.html
I'm wondering how can I set /blog/* subfolder of my static site on S3 to rewrite all urls to a blog hosted on EC2.
How is that possible?
Thanks for help
As far as I know that's not possible. S3 supports redirects, but it won't act as a proxy for your dynamic content as there's no concept of URL "rewriting" (which can only really happen at the webserver level unless you're redirecting to a completely different domain). You have a few alternatives though.
Host your wordpress blog on a subdomain. blog.yourdomain.com keeps your blog and you just link to it from your static site.
Find a way to generate static files from your wordpress blog and put those files in the blog "subfolder". There are wp plugins that will do this I believe.
Just thought of a new one. Set up cloudfront in front of your website and use behaviors to forward requests to your blog server.
There is a final option where you make your default 404 page into a little js application that acts as a router for fetching pages from your wordpress backend but hahahahaha don't do that.