You should ensure that the lease allows you to sublet the property. There may be a pre-condition that you must obtain consent from your landlord or some other party before subletting. This means that you cannot sublet without first obtaining consent. Such consent should not be unreasonably withheld. If your lease does not allow you to sublet you will need to ask your landlord if they are willing to waive this restriction.
You must ensure you seek professional advice if you are unsure of your excat position with regards to sub-letting your property.