This work is concerned with the null controllability of the one-dimensional wave equation over non-cylindrical distributed domains. The controllability in that case has been obtained by Castro, C\^indea and M\"unch in SIAM J. Control Optim., 52 (2014) for domains satisfying the usual geometric optic condition. We analyze the problem of optimizing the non-cylindrical support $q$ of the control of minimal $L^2(q)$-norm. In this respect, we prove a uniform observability inequality for a class of domains $q$ satisfying the geometric optic condition. The proof based on the d'Alembert formula relies on arguments from graph theory. Numerical experiments are discussed and highlight the influence of the initial condition on the optimal domains.