Hosting show incorrect website


After adding SSL to my server Now when I load it, I load a strange website instead of my old website: The source in public_html is different with what the site shows: I noticed that the content between https and http is different:

Thanks, Giang Anh



Howdy -- it looks like that's loading the content for a website named "Helios".

Is that another site being hosted on your server? Or haven't you seen that site before?

It's possible that there's an Apache issue that's causing it to load the wrong site on your server. If that's the case, the instructions here may help resolve that:


Yes, actually I created a website like that before. I tried to disable other virtual server and found that it use content instead of I'm using nginx and here is the site config for

server {
server_name_in_redirect off;

root /home/jplay/public_html;
index index.php index.html index.htm default.html default.htm;
access_log /var/log/virtualmin/jplay.tv_access_log;
error_log /var/log/virtualmin/jplay.tv_error_log;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_FILENAME /home/jplay/public_html$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT /home/jplay/public_html;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
fastcgi_param HTTPS $https;

location / {
expires 1d;

    # Enable joomla SEF URL's inside Nginx
    try_files $uri $uri/ /index.php?$args;

# deny running scripts inside writable directories
location ~* /(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|asp|sh|cgi)$ {
                return 403;
                error_page 403 /403_error.html;

location ~ \.php$ {
            fastcgi_pass unix:/var/php-nginx/143979903845399.sock/socket;
            fastcgi_index index.php;
            include fastcgi_params;
            fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include /etc/nginx/fastcgi_params;

# caching of files
location ~* \.(ico|pdf|flv)$ {
                expires 1y;

    location ~* \.(js|css|png|jpg|jpeg|gif|swf|xml|txt)$ {
                expires 14d;

# ssl on;
fastcgi_read_timeout 120;
ssl_certificate /home/jplay/ssl.cert;
ssl_certificate_key /home/jplay/ssl.key;

Also here is the result of ipconfig. is a local IP of my Azure VM. The public IP is:

eth0      Link encap:Ethernet  HWaddr 00:0d:3a:a0:8d:32
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::20d:3aff:fea0:8d32/64 Scope:Link
          RX packets:1232177 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1188347 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:279101023 (279.1 MB)  TX bytes:759615428 (759.6 MB)

lo        Link encap:Local Loopback
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:224 errors:0 dropped:0 overruns:0 frame:0
          TX packets:224 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:33288 (33.2 KB)  TX bytes:33288 (33.2 KB)


Ah, it's Nginx you're using here, not Apache... hmm, could you run this command, and paste the output in here:

nginx -V

Also, are there other domains on your server that are configured to use SSL?

Edit: I corrected the above command, the parameter should be "-V", a capitol "V".