After messing with the settings by changing the domain name of my subdomain and then trying to change it back, I no longer can access my main wordpress site wp-login. It is not accepting the passcode, then it automatically directs me to the login site wp-login to my subdomain, which does work.
How can I access my main domain?
FYI, I am hosted by hostgator. (If important).