Hello Lindsey, coconut trees ably endures full direct sun and intense heat with humidity and lots of rain. It is not an ideal plant, in my opinion, for indoor growing, though some will attempt it provided you can maintain your temps not lower than 70F in winter. And this has to be sustained 70F and higher otherwise even if you water it more, it may just suffer since it will never like temps below 70F and may just cause rotting.
It is a fantastic tree, we call it the tree of life in my homeland where it is endemic and grown often by the seashore in loamy to sandy soil, where it gets a lot of heat and humidity and about 6 months of rain. Critical factor for this one in winter is the temperature and light as with most tropical plants. At most that plant may survive indoors but do not expect it to show quite well since it is not its ideal growing condition.