Jump to content

rkysh

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by rkysh

  1. I have a domain registered at godaddy [www.example.com]. And i have a free hosting at Heliohost

     

    I want to point my domain to Heliohost's FTP server where my pages are hosted.

     

    I googled this and I was instructed to change my nameservers of godaddy to Heliohost's nameserver, then add the FTP IP in the A-Record.

     

    But I, without changing the nameservers, Added the A-Record to point to Heliohost's and added a custom domain at Heliohost's [www.example.com to point to public_html] and its working. I'm currently using my original nameserver.

     

    Then why is it instructed to change nameservers everywhere. Is it mandatory ??

  2. I am getting the following error...Pls help

     

     

    The server was not able to find the document (./502.shtml) you requested.

    Please check the url and try again. You might also want to report this

    error to your web hosting provider.

     

     

    Username : rakrish

    Site : rakrish.heliohost.org

    Server : Stevie

  3. Getting the following error

     

    User rkysh already has more than 'max_user_connections' active connections

     

    I have closed all the connections in the finally block, then too.

     

    Domain : rkysh.heliohost.org

     

     

    <%!
      Connection con;
      %>
      <%
      try {
    java.util.Date now = new java.util.Date();  
     SimpleDateFormat sdf = new SimpleDateFormat("dd-M-yyyy HH:mm:ss");  
     String sdate=sdf.format(now).toString();
     String ip=request.getRemoteAddr();
    
      String query = "insert into ip(IP,DATEE) values ('"+ip+"','"+sdate+"')";
    String url = "jdbc:mysql://localhost/rkysh_iplog";
    Class.forName("com.mysql.jdbc.Driver");
    con = DriverManager.getConnection (url, "*****", "******");
    
    Statement stmt = con.createStatement();
    int i = stmt.executeUpdate(query);
      }catch(SQLException e) {
    out.println(e.getMessage());
    }finally{
    if (con != null) {
    			  try {
    				 con.close();
    			  } catch (Exception e) {
    			  }
    			  }}
     
      %>
    

×
×
  • Create New...