Is it possible to install WordPress on a public server that doesn’t have a domain name configured yet? I thought I’d set it up on IP-only, and had the line server_name _;
in my Nginx configuration. I think it’s because of this that the WordPress installation dies at wp-admin/install.php?step=2
and I see the following error in the Nginx logs:
2017/01/08 07:24:53 [error] 25686#25686: *22 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught phpmailerException: Invalid address: wordpress@_ in /home/ankush/wp_main_site/wp-includes/class-phpmailer.php:946
Stack trace:
#0 /home/ankush/wp_main_site/wp-includes/pluggable.php(352): PHPMailer->setFrom('wordpress@_', 'WordPress', false)
#1 /home/ankush/wp_main_site/wp-admin/includes/upgrade.php(395): wp_mail('dkasolutions.sa...', 'New WordPress S...', 'Your new WordPr...')
Is a domain name a must or am I doing something wrong?