Quantcast
Channel: WebHostingTalk.pl - wszystkie tematy
Viewing all articles
Browse latest Browse all 10536

Konfiguracja VPS-a z CentOs-em

$
0
0
Witam,
mam problem z kloxo i centosem 5. Mianowicie na vps-ie mam zainstalowane centosa i kloxo z serwisami dns, http, mysql i php. Mam jakiś tam adres ip 100.0.12.122(tylko przykład). To jest mój adres po którym loguje się przez ssh. Włączyłem httpd - zmieniłem z lighthttp na apache i sprawdzilem dzialanie pozostałych serwisów. Następnie utworzyłem w var/www/html plik index.php i index.html z przykładową treścią. Po odpaleniu adresu mam jednak napis:
If you are seeing this page, it means that web has not been configured for this domain on this server.

This could be due to the following causes:

Kloxo has not restarted the web server yet after you added the domain. Please wait for the web server to restart.

The domain is pointing to the wrong Kloxo server. Ping the domain and make sure that the IP matches one of the IPaddress seen in admin home -> ipaddresses

If you are seeing this page when you try to access an IP like http://192.168.1.1, then that means that the IP has not yet been mapped to a domain. Go to client home -> ipaddresses -> ipaddress home -> domain config and map an IP to a domain.

Once you map an IP to a domain, then you have to make sure that the domain pings back to the same IP. Otherwise, if you try to access the domain, you will get this page. So IP -> domain.com should mean that domain.com pings to the same IP.
Mnie dotyczy trzecia opcja, tylko nie bardzo rozumiem jak mam dodać domenę do tego panelu. Nie mam domeny, mam adres ip. Co ciekawe działa mi adres https://192.168.1.1. Jednak chciałym korzystać ze zwykłego adresu, tzn. bez ssl, czyli z http a nie https.

Druga sprawa: mam domenę mojenazwisko.com.pl. Domena ta została zarejestrowana w innej firmie i obecnie działa pod dns-ami ns1.firma.pl i ns2.firma.pl. W kloxo dodałem donain template z nazwą mojenazwisko.com.pl i dns-ami:
ns1.mojenazwisko.com.pl oraz ns2.mojenazwisko.com.pl. Chciałem zamienić te dns-y w panelu klienta firmy w której jest domena jednak mam komunikat że dns-y są niepoprawne. Pytanie zatem: jak je poprawnie utworzyć? Może ktoś podpowiedzieć? Będę wdzięczny za każdą pomoc/podpowiedź.
Edit:
Wg tego co znalazłem kłopot jest dość banalny: trzeba w definicji virtualhostów dać port 80 zamiast 443. Jednak u mnie /etc/httpd/conf/httpd.conf jest puste.

Viewing all articles
Browse latest Browse all 10536

Latest Images

Trending Articles