Except as otherwise provided by this section, a proceeding under this chapter must be commenced in the county in which the child resides. If a child in need of protection is alleged, the proceeding may be brought in the county in which the child is present when it is commenced, the county in which the child has resided for the majority of the thirty days before the date of the alleged child in need of protection, or the county where the alleged conditions of the child in need of protection have occurred. The court shall determine the appropriate venue when the conditions of a child in need of protection action is based on the best interest of the child.
N.D.C.C. § 27-20.1-04