The server is not working in what way, the Virtuoso server is failing to restart or the customisation made to the SPARQL Endpoint form page is preventing it from loading ?
I presume you are following the steps detailed in HOWTO: Modify Virtuoso default /sparql endpoint Form page using XSLT ?