Moved LCD to other pins and it stopted working

The most likely cause is the wiring, did you check that the LCD worked after moving the pins before adding the ethernet code?

If not, try the sketch with the calls to Ethernet.begin, server.begin commented out. If you don’t see the start-up message then double check your wiring.