I lost my Anmeldung

Hello, I moved in Germany 10 months ago and I have a question: I need to move from the place I stayed until now and I can t find affordable spaces.I have a friend that told me I can stay with him for as long as I need but the problem is I cannot make an Anmeldung at his house because the Landlords refuzed. I have a work contract, a bank account, health inssurance and I am afraid I will lose them all without a new Anmeldung.Any advice?

Thank you in advance!

-Mark

By law, you must register at the place you actually live. Everything else is illegal.

The form ("Wohnungsgeberbescheinigung") must be signed by the person who gave you the place to stay - in your case that's your friend, not his landlord!