Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Ok, I know I should browse and learn about Nginx, but this is kinda an emergency. I have a website remotely hosted on Nginx (so can't modify it). I put the content on a folder and tell the host to point traffic from a domain of mine in that folder.

myexternaldomain.com -> /somepath/mywebsite/

The result is PHP does not work. Can someone explain how I can fix this?

share|improve this question
1  
If someone else is hosting this for you, it's their responsibility to either make PHP work or tell you how to make PHP work. –  DerfK Mar 9 '11 at 18:16
    
I blogged about this a while ago, maybe it'll help you: blog.martinfjordvald.com/2011/01/… –  Martin Fjordvald Mar 9 '11 at 22:57
    
@Martin Yeah I read it a while ago. Good post, but I don't have any control on the server, so it's a black box for me. Can't debug and things... –  gurghet Mar 10 '11 at 11:42
    
You cannot fix this without access to the server. It's a configuration problem that your host needs to fix then. –  Martin Fjordvald Mar 10 '11 at 21:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.