   // sent by clients)
   // default is DNSReplyCode::NonExistentDomain
   dnsServer.setErrorReplyCode(DNSReplyCode::ServerFailure);
-  dnsServer.start(DNS_PORT, "logo.bot", apIP);
+  dnsServer.start(DNS_PORT, LOGOBOT_URL, apIP);
   
   server.on("/", handleRoot);
   server.on("/cmd", handleCommand);

    server.send(200, F("text/plain"), response);

  } else {
    server.send(200, F("text/plain"), "err");
  }
  
  digitalWrite(led, 0);
}

void handleNotFound(){
  digitalWrite(led, 1);
  String message = "File Not Found\n\n";
  message += "URI: ";

#include <ESP8266WebServer.h>
#include <WiFiClient.h>

/* Settings you may want to configure for your LogoBot */
#define LOGOBOT_SSID "LogobotBlue"
#define LOGOBOT_PWD "logobot1"
#define LOGOBOT_URL "logo.bot"
static const IPAddress apIP(192, 168, 4, 1);
static const IPAddress mask(255, 255, 255, 0);

/* Settings you should leave alone */
#define DNS_PORT 53
#define led 2

DNSServer dnsServer;
ESP8266WebServer server(80);

static const char page[] PROGMEM = R"~(
<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1">
<html>
