If your drivers license is not lost or is a full renewal then you must go into the DMV office and renew the drivers license that way.
There's no way to renew the drivers license online because you have to get your eyes tested again and show up with the proper documentation.