title: deploying project to domain, server error: Connection failed: Connection timed out
body: <p>ns45.domaincontrol.com - Nameserver that godaddy gave me.</p>
  
  <p>This is my connection.php</p>
  
  <pre><code>&lt;?php 
  
  $servername = "ns45.domaincontrol.com";
  $username = "username";
  $password = "password";
  $dbname = "dailydok_doctordb";
  // Create connection
  $conn = new mysqli($servername, $username, $password, $dbname);
  // Check connection
  if ($conn-&gt;connect_error) {
      die("Connection failed: " . $conn-&gt;connect_error);
  } 
  
  ?&gt;
  </code></pre>
  
  <p>This is my search.php</p>
  
  <pre><code>&lt;?php 
  include('connect.php');
  if (isset($_POST['start_submit'])) {
   $neymSpec= $_POST['tx_DocNameSpec'];
   $place = $_POST['tx_Place'];
  
  if($neymSpec == "" &amp;&amp; $place == ""){
      $sql = "SELECT *,(select ROUND(FORMAT(avg(feedbacktbl.ratings),1),0) from `feedbacktbl` where feedbacktbl.DrNo = doctortbl.doctorID order by feedbacktbl.ratings desc) as 'TotalRating' FROM `doctortbl` order by doctorID desc";
      }
  //process of sql
  $result = $conn-&gt;query($sql);
  $total_records = $result-&gt;num_rows;  //count number of records
  if ($result-&gt;num_rows &gt; 0) {
     while($row = $result-&gt;fetch_assoc()) {
       echo stripslashes($row['doctorName']) .". ";
          }
      }else {
      echo'&lt;div class="alert alert-warning"&gt;The keyword you enter is invalid. Please try other keyword.&lt;/div&gt;';
  }
  $conn-&gt;close();
  }
  ?&gt;
  </code></pre>
  
  <p>When I clicked the search button the error I'm getting is "Connection failed: Connection timed out". </p>
  
  <p>I'm doing this for 3 days, and I can't get the answer, someone give me help. Thank you in advance.</p>